diff --git a/jane/gyroscops.json b/jane/gyroscops.json index 9615e398..48e76a1d 100644 --- a/jane/gyroscops.json +++ b/jane/gyroscops.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Gyroscops API","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/authentication\/authentication\/organizations\/{id}\/external-collaborators":{"put":{"operationId":"put_external_collaboratorsOrganizationItem","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\/organizations\/{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-add_collaborators"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-add_collaborators"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-add_collaborators"}}},"required":true},"deprecated":false},"parameters":[]},"\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/offers\/{id}\/options":{"get":{"operationId":"api_subscription_offers_options_get_subresourceSubscriptionOfferSubresource","tags":["Option","SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer 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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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 SubscriptionOffer resource.","description":"Retrieves a SubscriptionOffer resource.","parameters":[{"name":"id","in":"path","description":"SubscriptionOffer 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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/organizations\/{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\/organizations\/{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\/organizations\/{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\/organizations\/{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\/organizations\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/organizations\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/organizations\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/organizations\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/subscription-offers":{"get":{"operationId":"getSubscriptionOfferCollection","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOffer.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/SubscriptionOffer-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}}}}},"summary":"Retrieves the collection of SubscriptionOffer resources.","description":"Retrieves the collection of SubscriptionOffer 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\/subscription-offers\/{id}":{"get":{"operationId":"getSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a SubscriptionOffer resource.","description":"Retrieves a SubscriptionOffer 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":"putSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}},"links":{"GetSubscriptionOfferItem":{"operationId":"getSubscriptionOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription-offers\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the SubscriptionOffer resource.","description":"Replaces the SubscriptionOffer 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 SubscriptionOffer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-write"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"204":{"description":"SubscriptionOffer resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the SubscriptionOffer resource.","description":"Removes the SubscriptionOffer 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":"patchSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}},"links":{"GetSubscriptionOfferItem":{"operationId":"getSubscriptionOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription-offers\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the SubscriptionOffer resource.","description":"Updates the SubscriptionOffer 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 SubscriptionOffer resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-write"}}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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\/subscriptions\/{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},"parameters":[]},"\/authentication\/subscriptions\/{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\/subscriptions\/{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},"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\/subscriptions\/{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\/{id}\/offer":{"get":{"operationId":"api_subscriptions_offer_get_subresourceSubscriptionSubresource","tags":["SubscriptionOffer","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}}}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/users\/{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\/users\/{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\/users\/{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\/users\/{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\/users\/{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\/users\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/workspaces\/{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":[]},"\/authentication\/workspaces\/{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\/workspaces\/{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\/workspaces\/{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\/workspaces\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/workspaces\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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":[]},"\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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\/configurations\/{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\/configurations\/{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\/configurations\/{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\/configurations\/{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\/configurations\/{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\/configurations\/{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\/configurations\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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\/environments\/{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\/environments\/{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\/environments\/{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\/environments\/{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\/environments\/{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\/environments\/{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\/environments\/{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\/environments\/{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\/environments\/{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\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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\/secrets\/{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\/secrets\/{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\/secrets\/{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\/secrets\/{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\/secrets\/{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\/secrets\/{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\/secrets\/{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\/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\/instances\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/instances\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/instances\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/instances\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/akeneo-oauth-tokens":{"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\/akeneo-oauth-tokens\/{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\/akeneo-oauth-tokens\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/akeneo-oauth-tokens\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/actions\/{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\/actions\/{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\/actions\/{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\/actions\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/compilations\/{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\/compilations\/{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\/compilations\/{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\/compilations\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-pipeline-jobs\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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\/executions\/{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\/execution-actions\/{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\/executions\/execution-pipelines\/{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\/executions\/execution-workflows\/{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\/executions\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/executions\/pipelines\/execution-pipeline-steps\/{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\/executions\/pipelines\/jobs\/{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\/executions\/pipelines\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/executions\/runtime\/executions\/pipelines\/{id}\/steps\/{stepCode}\/logs":{"get":{"operationId":"get_execution_logsExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"202":{"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":"Get logs from a selected step","description":"Get logs from a selected step","parameters":[{"name":"stepCode","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\/executions\/runtime\/executions\/pipelines\/{id}\/steps\/{stepCode}\/rejects":{"get":{"operationId":"get_execution_rejectsExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"202":{"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":"Get rejects from a selected step","description":"Get rejects from a selected step","parameters":[{"name":"stepCode","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\/executions\/runtime\/executions\/workflows\/{id}\/pipelines\/{jobCode}\/steps\/{stepCode}\/logs":{"get":{"operationId":"get_execution_action_logsExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"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":"Get logs from an executed step","description":"Get logs from an executed step","parameters":[{"name":"jobCode","in":"path","description":"Job 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\/executions\/runtime\/executions\/workflows\/{id}\/pipelines\/{jobCode}\/steps\/{stepCode}\/rejects":{"get":{"operationId":"get_execution_pipeline_rejectsExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"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":"Get rejects from an executed step","description":"Get rejects from an executed step","parameters":[{"name":"jobCode","in":"path","description":"Job resource id","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"stepCode","in":"path","description":"Step resource id","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\/executions\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/executions\/workflows\/execution-workflow-job-actions\/{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\/executions\/workflows\/execution-workflow-jobs\/{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\/executions\/workflows\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/executions\/workflows\/jobs\/{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\/executions\/workflows\/jobs\/{id}\/pipelines":{"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\/executions\/workflows\/jobs\/{id}\/pipelines\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/executions\/workflows\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/executions\/workflows\/{id}\/jobs\/{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\/executions\/workflows\/{id}\/jobs\/{job}\/pipelines":{"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\/executions\/{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\/executions\/{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\/executions\/{id}\/interrupt":{"put":{"operationId":"interrupt_executionExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommand"}}},"links":{"GetExecutionWorkflowItem":{"operationId":"getExecutionWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/executions\/execution-workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Interrupts a workflow execution","description":"Interrupts a workflow 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 ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/{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\/executions\/{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\/executions\/{id}\/pipelines":{"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\/executions\/{id}\/resume":{"put":{"operationId":"resume_executionExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommand"}}},"links":{"GetExecutionWorkflowItem":{"operationId":"getExecutionWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/executions\/execution-workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Resumes a workflow execution","description":"Resumes a workflow 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 ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/{id}\/terminate":{"put":{"operationId":"terminate_executionExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommand"}}},"links":{"GetExecutionWorkflowItem":{"operationId":"getExecutionWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/executions\/execution-workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Terminates a workflow execution","description":"Terminates a workflow 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 ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/{id}\/workflows":{"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\/executions\/{id}\/workflows\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/executions\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-probes\/{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-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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-steps\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a pipeline","description":"Declares a 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\/steps\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{id}\/add-psr4-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\/pipelines\/{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\/pipelines\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/pipelines\/{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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Launches a pipeline compilation","description":"Launches 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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{id}\/remove-psr4-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\/pipelines\/{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\/pipelines\/{id}\/schedule-now":{"put":{"operationId":"pipeline_schedule_immediatePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommand-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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a pipeline for immediate execution","description":"Schedule a pipeline for immediate 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 Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/schedule-once":{"put":{"operationId":"pipeline_schedule_oncePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommand-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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a pipeline to a specific date","description":"Schedule a pipeline to a specific date","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.DeclarePipelineScheduleOnceCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/schedules":{"get":{"operationId":"api_pipelines_schedules_get_subresourcePipelineSubresource","tags":["Schedule","Pipeline"],"responses":{"200":{"description":"Pipeline resource","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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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 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\/pipelines\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{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\/pipelines\/{id}\/steps\/{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\/pipelines\/{id}\/steps\/{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\/pipelines\/{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\/pipelines\/{id}\/steps\/{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\/pipelines\/{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\/pipelines\/{id}\/steps\/{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\/pipelines\/{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\/pipelines\/{id}\/steps\/{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\/pipelines\/{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\/pipelines\/{id}\/steps\/{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\/pipelines\/{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.AddPipelineStepProbeCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/steps\/{code}\/probes\/{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\/pipelines\/{id}\/steps\/{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\/pipelines\/{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\/pipelines\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/schedules\/{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\/schedules\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"post":{"operationId":"declare_workflowWorkflowCollection","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommand-read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a workflow","description":"Declares a workflow","parameters":[],"requestBody":{"description":"The new Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/jobs\/{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\/workflows\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/workflows\/pipelines\/{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\/workflows\/workflow-job-actions\/{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\/workflows\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/workflows\/{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\/workflows\/{id}\/compilations":{"get":{"operationId":"api_workflows_compilations_get_subresourceWorkflowSubresource","tags":["Compilation","Workflow"],"responses":{"200":{"description":"Workflow 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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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 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\/workflows\/{id}\/compile":{"put":{"operationId":"workflow_compilationWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommand-read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Launches a workflow compilation","description":"Launches a workflow 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 Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/{id}\/delete":{"put":{"operationId":"soft_deleteWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommand-read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Workflow resource.","description":"Replaces the 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}],"requestBody":{"description":"The updated Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/workflows\/{id}\/schedule-crontab":{"put":{"operationId":"workflow_schedule_crontabWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommand-read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a crontab for a workflow","description":"Schedule a crontab for a workflow","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 Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/{id}\/schedule-immediate":{"put":{"operationId":"workflow_schedule_immediateWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommand-read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a workflow to start immediately","description":"Schedule a workflow to start immediately","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 Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/{id}\/schedules":{"get":{"operationId":"api_workflows_schedules_get_subresourceWorkflowSubresource","tags":["Schedule","Workflow"],"responses":{"200":{"description":"Workflow resource","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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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 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":[]},"\/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":{"AbstractCloudEngine":{"type":"object","description":"","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"environments":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractCloudEngine.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"environments":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractPipeline":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractPipeline.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Action":{"type":"object","description":"","required":["configuration"],"properties":{"configuration":{"type":"object","additionalProperties":{"type":"string"}}}},"Action-read":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","label","configuration"]},"Action.jsonld":{"type":"object","description":"","required":["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"},"configuration":{"type":"object","additionalProperties":{"type":"string"}}}},"Action.jsonld-read":{"type":"object","description":"","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"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","label","configuration"]},"AkeneoInstance":{"type":"object","description":"","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","description":"","properties":{"pimUrl":{"type":"string"},"organization":{"type":"string","format":"uuid"},"secret":{"$ref":"#\/components\/schemas\/CreateSecretInput"}}},"AkeneoInstance.AkeneoInstanceInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","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","description":"","properties":{"akeneoInstance":{"type":"string","format":"uuid"},"tokenId":{"type":"string","format":"uuid"},"akeneoUserId":{"type":"string","format":"uuid"},"token":{"type":"string"}}},"AkeneoLinkedAccount.AkeneoLinkedAccountsInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"scopes":{"minItems":1,"type":"array","items":{"type":"string"}},"responseType":{"enum":["code"],"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"AkeneoOauthToken.OauthStateInput":{"type":"object","description":"","properties":{"url":{"type":"string"},"scope":{"type":"array","items":{"type":"string"}}}},"AkeneoOauthToken.OauthStateInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"AkeneoOauthToken.OauthStateOutput.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"url":{"type":"string"},"state":{"type":"string"},"code":{"type":"string"}}},"AkeneoOauthToken.OauthTokenInput.jsonld":{"type":"object","description":"","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","description":""},"AkeneoOauthToken.OauthTokenOutput.jsonld-read":{"type":"object","description":"","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"AkeneoOauthToken.jsonld-read":{"type":"object","description":"","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":{"minItems":1,"type":"array","items":{"type":"string"}},"responseType":{"enum":["code"],"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"BigDecimal":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}},"Buyable":{"type":"object","description":"","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/Price"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}},"required":["sku","name","slug","shortDescription","description","features"]},"Buyable.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/Price.jsonld"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}},"required":["sku","name","slug","shortDescription","description","features"]},"Color-read":{"type":"object","description":""},"Color.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Compilation":{"type":"object","description":"","required":["id","pipeline"],"properties":{"id":{"type":"string","format":"uuid"},"currentVersion":{"type":"integer"},"createdAt":{"writeOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"Compilation.jsonld":{"type":"object","description":"","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"},"currentVersion":{"type":"integer"},"createdAt":{"writeOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"Composer":{"type":"object","description":"","properties":{"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAutoload"}},"packages":{"type":"object","additionalProperties":{"type":"string"}},"repositories":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerRepository"}},"authentications":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAuthentication"}}}},"Composer.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAutoload.jsonld"}},"packages":{"type":"object","additionalProperties":{"type":"string"}},"repositories":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerRepository.jsonld"}},"authentications":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAuthentication.jsonld"}}}},"ComposerAuthentication":{"type":"object","description":"","properties":{"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"token":{"type":"string"}},"required":["token"]},"ComposerAuthentication.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"token":{"type":"string"}},"required":["token"]},"ComposerAutoload":{"type":"object","description":"","properties":{"type":{"enum":["psr-4"],"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["paths"]},"ComposerAutoload.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"type":{"enum":["psr-4"],"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["paths"]},"ComposerRepository":{"type":"object","description":"","required":["name"],"properties":{"name":{"type":"string"},"type":{"enum":["git","vcs"],"type":"string"},"url":{"oneOf":[{"pattern":"^(.*(((git|ssh|http(s)?)|(git@[\\w\\.]+))(:(\/\/)?)([\\w\\.@\\:\/\\-~]+)(\\.git)(\/)?).*)$"}],"type":"string"}}},"ComposerRepository.jsonld":{"type":"object","description":"","required":["name"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"enum":["git","vcs"],"type":"string"},"url":{"oneOf":[{"pattern":"^(.*(((git|ssh|http(s)?)|(git@[\\w\\.]+))(:(\/\/)?)([\\w\\.@\\:\/\\-~]+)(\\.git)(\/)?).*)$"}],"type":"string"}}},"Configuration":{"type":"object","description":"","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","nullable":true}}}},"Configuration-edit":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Configuration-read":{"type":"object","description":"","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"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}}}},"Configuration.ChangeConfigurationValueInput":{"type":"object","description":"","properties":{"contents":{"type":"object","additionalProperties":{"type":"string"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Configuration.ChangeConfigurationValueInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Configuration.CreateConfigurationInput":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Configuration.CreateConfigurationInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Configuration.RemoveConfigurationValueInput":{"type":"object","description":"","properties":{"contents":{"type":"array","items":{"type":"string"}}}},"Configuration.RemoveConfigurationValueInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"array","items":{"type":"string"}}}},"Configuration.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","nullable":true}}}},"Configuration.jsonld-edit":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}}}},"Context":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"CreateSecretInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Currency":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Environment.AddMultipleVariableFromConfigurationInput":{"type":"object","description":"","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigurationInput"}}}},"Environment.AddMultipleVariableFromConfigurationInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Environment.AddMultipleVariableFromConstantInput":{"type":"object","description":"","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConstantInput"}}}},"Environment.AddMultipleVariableFromConstantInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Environment.AddMultipleVariableFromSecretInput":{"type":"object","description":"","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecretInput"}}}},"Environment.AddMultipleVariableFromSecretInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Environment.CreateEnvironmentInput":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"variables":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Environment.CreateEnvironmentInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Environment.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["id","code","status","errors","scheduledAt","reason"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"enum":["declared","scheduled","starting","started","stopped","finished","halted","unknown"],"default":"unknown","example":"unknown","type":"string"},"errors":{"minimum":0,"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},"currentVersion":{"type":"integer"}}},"Execution.DeclarePipelineExecutionCommand-read":{"type":"object","description":""},"Execution.DeclarePipelineExecutionCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["schedule","pipeline"],"properties":{"schedule":{"$ref":"#\/components\/schemas\/Schedule"},"pipeline":{"$ref":"#\/components\/schemas\/Pipeline"}}},"Execution.DeclarePipelineExecutionCommandInput.jsonld":{"type":"object","description":"","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":{"$ref":"#\/components\/schemas\/Schedule.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/Pipeline.jsonld"}}},"Execution.InterruptPipelineExecutionCommand-read":{"type":"object","description":""},"Execution.InterruptPipelineExecutionCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Execution.InterruptPipelineExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Execution.ResumePipelineExecutionCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Execution.ResumePipelineExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Execution.TerminatePipelineExecutionCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["reason"],"properties":{"reason":{"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput.jsonld":{"type":"object","description":"","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.jsonld-read":{"type":"object","description":"","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":{"enum":["declared","scheduled","starting","started","stopped","finished","halted","unknown"],"default":"unknown","example":"unknown","type":"string"},"errors":{"minimum":0,"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},"currentVersion":{"type":"integer"}}},"ExecutionAction":{"type":"object","description":"","required":["execution","id"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld":{"type":"object","description":"","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"}}},"ExecutionId":{"type":"object","description":"","properties":{"nil":{"readOnly":true,"type":"boolean"}}},"ExecutionId.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"nil":{"readOnly":true,"type":"boolean"}}},"ExecutionPipeline":{"type":"object","description":"","required":["execution"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipeline.jsonld":{"type":"object","description":"","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":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob":{"type":"object","description":"","required":["job"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob.jsonld":{"type":"object","description":"","required":["job"],"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":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineStep":{"type":"object","description":"","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","description":"","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","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflow.InterruptWorkflowExecutionCommand":{"type":"object","description":"","properties":{"id":{"$ref":"#\/components\/schemas\/ExecutionId"},"date":{"type":"string","format":"date-time"},"user":{"anyOf":[{"$ref":"#\/components\/schemas\/UserId"}],"nullable":true}}},"ExecutionWorkflow.InterruptWorkflowExecutionCommand.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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\/ExecutionId.jsonld"},"date":{"type":"string","format":"date-time"},"user":{"anyOf":[{"$ref":"#\/components\/schemas\/UserId.jsonld"}],"nullable":true}}},"ExecutionWorkflow.InterruptWorkflowExecutionCommandInput":{"type":"object","description":""},"ExecutionWorkflow.InterruptWorkflowExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"ExecutionWorkflow.ResumeWorkflowExecutionCommand":{"type":"object","description":"","properties":{"id":{"$ref":"#\/components\/schemas\/ExecutionId"},"date":{"type":"string","format":"date-time"},"user":{"anyOf":[{"$ref":"#\/components\/schemas\/UserId"}],"nullable":true}}},"ExecutionWorkflow.ResumeWorkflowExecutionCommand.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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\/ExecutionId.jsonld"},"date":{"type":"string","format":"date-time"},"user":{"anyOf":[{"$ref":"#\/components\/schemas\/UserId.jsonld"}],"nullable":true}}},"ExecutionWorkflow.ResumeWorkflowExecutionCommandInput":{"type":"object","description":""},"ExecutionWorkflow.ResumeWorkflowExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"ExecutionWorkflow.TerminateWorkflowExecutionCommand":{"type":"object","description":"","properties":{"id":{"$ref":"#\/components\/schemas\/ExecutionId"},"date":{"type":"string","format":"date-time"},"reason":{"type":"string"},"user":{"anyOf":[{"$ref":"#\/components\/schemas\/UserId"}],"nullable":true}}},"ExecutionWorkflow.TerminateWorkflowExecutionCommand.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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\/ExecutionId.jsonld"},"date":{"type":"string","format":"date-time"},"reason":{"type":"string"},"user":{"anyOf":[{"$ref":"#\/components\/schemas\/UserId.jsonld"}],"nullable":true}}},"ExecutionWorkflow.TerminateWorkflowExecutionCommandInput":{"type":"object","description":"","required":["reason"],"properties":{"reason":{"type":"string"}}},"ExecutionWorkflow.TerminateWorkflowExecutionCommandInput.jsonld":{"type":"object","description":"","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"}}},"ExecutionWorkflow.jsonld":{"type":"object","description":"","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":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflowJob":{"type":"object","description":"","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","description":"","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","description":"","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionWorkflowJobAction.jsonld":{"type":"object","description":"","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"}}},"Job":{"type":"object","description":"","properties":{"pipeline":{"anyOf":[{"$ref":"#\/components\/schemas\/Pipeline"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/Action"}],"nullable":true},"code":{"type":"string"},"label":{"type":"string"}},"required":["code","label"]},"Job.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"anyOf":[{"$ref":"#\/components\/schemas\/Pipeline.jsonld"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/Action.jsonld"}],"nullable":true},"code":{"type":"string"},"label":{"type":"string"}},"required":["code","label"]},"Money":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}},"OnPremiseRequest-on-premise-request.read":{"type":"object","description":"","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","description":"","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","description":"","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","description":"","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"}}},"OpaqueInterface":{"type":"object","description":""},"OpaqueInterface.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Option":{"type":"object","description":"","required":["offer","sku","name","slug","shortDescription","description","features"],"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"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/Price"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"Option.jsonld":{"type":"object","description":"","required":["offer","sku","name","slug","shortDescription","description","features"],"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"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/Price.jsonld"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"Organization":{"type":"object","description":"","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"},"stripeCode":{"type":"string","nullable":true},"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"}},"activeUntil":{"type":"string","format":"date-time","nullable":true}},"required":["name"]},"Organization-add_collaborators":{"type":"object","description":"","properties":{"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Organization.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"stripeCode":{"type":"string","nullable":true},"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"}},"activeUntil":{"type":"string","format":"date-time","nullable":true}},"required":["name"]},"Organization.jsonld-add_collaborators":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Pipeline":{"type":"object","description":"","required":["steps","code"],"properties":{"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/Step"}},"code":{"type":"string"}}},"Pipeline-read":{"type":"object","description":"","properties":{"currentVersion":{"type":"integer"},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"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"}},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep-read"}}},"required":["repositories","auths","id","code","label"]},"Pipeline.AddAfterPipelineStepCommand-read":{"type":"object","description":""},"Pipeline.AddAfterPipelineStepCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddAfterPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddBeforePipelineStepCommand-read":{"type":"object","description":""},"Pipeline.AddBeforePipelineStepCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddBeforePipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddPipelineComposerAuthCommand-read":{"type":"object","description":""},"Pipeline.AddPipelineComposerAuthCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"token":{"type":"string"}},"required":["token"]},"Pipeline.AddPipelineComposerAuthCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"token":{"type":"string"}},"required":["token"]},"Pipeline.AddPipelineComposerPSR4AutoloadCommand-read":{"type":"object","description":""},"Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["namespace","paths"],"properties":{"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld":{"type":"object","description":"","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","description":""},"Pipeline.AddPipelineComposerPackageCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["package","version"],"properties":{"package":{"type":"string"},"version":{"type":"string"}}},"Pipeline.AddPipelineComposerPackageCommandInput.jsonld":{"type":"object","description":"","required":["package","version"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Pipeline.AddPipelineComposerRepositoryCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["name","type","url"],"properties":{"name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}}},"Pipeline.AddPipelineComposerRepositoryCommandInput.jsonld":{"type":"object","description":"","required":["name","type","url"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineStepProbeCommand-read":{"type":"object","description":""},"Pipeline.AddPipelineStepProbeCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineStepProbeCommandInput":{"type":"object","description":"","required":["probe"],"properties":{"probe":{"$ref":"#\/components\/schemas\/Probe"}}},"Pipeline.AddPipelineStepProbeCommandInput.jsonld":{"type":"object","description":"","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.AppendPipelineStepCommand-read":{"type":"object","description":""},"Pipeline.AppendPipelineStepCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AppendPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.CompilePipelineCommand-read":{"type":"object","description":""},"Pipeline.CompilePipelineCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Pipeline.CompilePipelineCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineCommand-read":{"type":"object","description":""},"Pipeline.DeclarePipelineCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["steps","composer","code","label"],"properties":{"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/Step"}},"composer":{"$ref":"#\/components\/schemas\/Composer"},"code":{"type":"string"},"label":{"type":"string"}}},"Pipeline.DeclarePipelineCommandInput.jsonld":{"type":"object","description":"","required":["steps","composer","code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/Step.jsonld"}},"composer":{"$ref":"#\/components\/schemas\/Composer.jsonld"},"code":{"type":"string"},"label":{"type":"string"}}},"Pipeline.DeclarePipelineScheduleImmediateCommand-read":{"type":"object","description":""},"Pipeline.DeclarePipelineScheduleImmediateCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineScheduleImmediateCommandInput":{"type":"object","description":"","properties":{"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Pipeline.DeclarePipelineScheduleImmediateCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Pipeline.DeclarePipelineScheduleOnceCommand-read":{"type":"object","description":""},"Pipeline.DeclarePipelineScheduleOnceCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineScheduleOnceCommandInput":{"type":"object","description":"","properties":{"date":{"type":"string","format":"date-time"},"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Pipeline.DeclarePipelineScheduleOnceCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"date":{"type":"string","format":"date-time"},"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Pipeline.MoveAfterPipelineStepCommand-read":{"type":"object","description":""},"Pipeline.MoveAfterPipelineStepCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["after","code"],"properties":{"after":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["after","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"},"after":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommand-read":{"type":"object","description":""},"Pipeline.MoveBeforePipelineStepCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["before","code"],"properties":{"before":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["before","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"},"before":{"type":"string"},"code":{"type":"string"}}},"Pipeline.RemovePipelineComposerAuthCommand-read":{"type":"object","description":""},"Pipeline.RemovePipelineComposerAuthCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"url":{"type":"string"}}},"Pipeline.RemovePipelineComposerAuthCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Pipeline.RemovePipelineComposerPSR4AutoloadCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"namespace":{"type":"string"}}},"Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Pipeline.RemovePipelineComposerPackageCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"package":{"type":"string"}}},"Pipeline.RemovePipelineComposerPackageCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Pipeline.RemovePipelineComposerRepositoryCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"name":{"type":"string"}}},"Pipeline.RemovePipelineComposerRepositoryCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Pipeline.RemovePipelineStepProbeCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Pipeline.ReorderPipelineStepsCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["codes"],"properties":{"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReorderPipelineStepsCommandInput.jsonld":{"type":"object","description":"","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","description":""},"Pipeline.ReplacePipelineStepCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.ReplacePipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.jsonld":{"type":"object","description":"","required":["steps","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"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/Step.jsonld"}},"code":{"type":"string"}}},"Pipeline.jsonld-read":{"type":"object","description":"","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}]},"currentVersion":{"type":"integer"},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"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"}},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld-read"}}},"required":["repositories","auths","id","code","label"]},"PipelineStep":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"order":{"type":"integer"},"code":{"type":"string"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["order","code","label","pipeline","configuration"]},"PipelineStep-read":{"type":"object","description":"","required":["code","label","configuration"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}}},"PipelineStep.jsonld":{"type":"object","description":"","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"},"order":{"type":"integer"},"code":{"type":"string"},"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":["order","code","label","pipeline","configuration"]},"PipelineStep.jsonld-read":{"type":"object","description":"","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"}}}},"PipelineStepProbe":{"type":"object","description":"","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","description":"","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","description":"","properties":{"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"buyable":{"$ref":"#\/components\/schemas\/Buyable"},"type":{"$ref":"#\/components\/schemas\/SubscriptionType"},"amount":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Money"},"currency":{"type":"string","nullable":true}},"required":["amount"]},"Price-read":{"type":"object","description":"","properties":{"type":{"$ref":"#\/components\/schemas\/SubscriptionType-read"},"amount":{"type":"string"},"currency":{"type":"string","nullable":true}},"required":["amount"]},"Price.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"buyable":{"$ref":"#\/components\/schemas\/Buyable.jsonld"},"type":{"$ref":"#\/components\/schemas\/SubscriptionType.jsonld"},"amount":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Money.jsonld"},"currency":{"type":"string","nullable":true}},"required":["amount"]},"Price.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"type":{"$ref":"#\/components\/schemas\/SubscriptionType.jsonld-read"},"amount":{"type":"string"},"currency":{"type":"string","nullable":true}},"required":["amount"]},"Probe":{"type":"object","description":"","required":["code","label"],"properties":{"code":{"type":"string"},"label":{"type":"string"}}},"Probe.jsonld":{"type":"object","description":"","required":["code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"}}},"ReferralCode-referral-code.read":{"type":"object","description":"","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","description":"","properties":{"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralCode.jsonld-referral-code.read":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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":{"enum":["pending","approved","rejected"],"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"ReferralRequest.ReferralRequestInput":{"type":"object","description":"","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.ReferralRequestInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"enum":["pending","approved","rejected"],"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"Region":{"type":"object","description":"","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"provider":{"type":"string"},"datacenterName":{"type":"string"},"datacenterAddress":{"type":"string"},"cloudEngine":{"$ref":"#\/components\/schemas\/AbstractCloudEngine"},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["provider","datacenterName","datacenterAddress"]},"Region.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"provider":{"type":"string"},"datacenterName":{"type":"string"},"datacenterAddress":{"type":"string"},"cloudEngine":{"$ref":"#\/components\/schemas\/AbstractCloudEngine.jsonld"},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["provider","datacenterName","datacenterAddress"]},"Schedule":{"type":"object","description":""},"Schedule.jsonld":{"type":"object","description":"","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}]}}},"Secret":{"type":"object","description":"","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}}}},"Secret-edit":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Secret-read":{"type":"object","description":"","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},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}}}},"Secret.ChangeSecretValueInput":{"type":"object","description":"","properties":{"contents":{"type":"object","additionalProperties":{"$ref":"#\/components\/schemas\/OpaqueInterface"}}}},"Secret.ChangeSecretValueInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"$ref":"#\/components\/schemas\/OpaqueInterface.jsonld"}}}},"Secret.CreateSecretInput":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Secret.CreateSecretInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.RemoveSecretValueInput":{"type":"object","description":"","properties":{"contents":{"type":"array","items":{"type":"string"}}}},"Secret.RemoveSecretValueInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"array","items":{"type":"string"}}}},"Secret.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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}}}},"Secret.jsonld-edit":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","nullable":true},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}}}},"Step":{"type":"object","description":"","required":["configuration","code","label","probes"],"properties":{"configuration":{"type":"object","additionalProperties":{"type":"string"}},"code":{"type":"string"},"label":{"type":"string"},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Step.jsonld":{"type":"object","description":"","required":["configuration","code","label","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"object","additionalProperties":{"type":"string"}},"code":{"type":"string"},"label":{"type":"string"},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Subscription":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"]},"SubscriptionOffer-read":{"type":"object","description":"","required":["color","sku","name","slug","shortDescription","description","features"],"properties":{"color":{"$ref":"#\/components\/schemas\/Color-read"},"colorDepth":{"type":"integer"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/Price-read"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOffer-write":{"type":"object","description":"","properties":{"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOffer.jsonld-read":{"type":"object","description":"","required":["color","sku","name","slug","shortDescription","description","features"],"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}]},"color":{"$ref":"#\/components\/schemas\/Color.jsonld-read"},"colorDepth":{"type":"integer"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/Price.jsonld-read"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOffer.jsonld-write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOption":{"type":"object","description":"","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","description":"","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"]},"SubscriptionType":{"type":"object","description":"","properties":{"name":{"readOnly":true,"type":"string"},"value":{"readOnly":true,"type":"string"}}},"SubscriptionType-read":{"type":"object","description":""},"SubscriptionType.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"readOnly":true,"type":"string"},"value":{"readOnly":true,"type":"string"}}},"SubscriptionType.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"object","description":""},"Traversable.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"object","description":"","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"}},"akeneoLinkedAccounts":{"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"fullName":{"readOnly":true,"type":"string","nullable":true},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"User.UserChangePasswordInput":{"type":"object","description":"","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"},"confirmPassword":{"type":"string"}}},"User.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}},"akeneoLinkedAccounts":{"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"fullName":{"readOnly":true,"type":"string","nullable":true},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"UserAuthorization":{"type":"object","description":"","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":{"enum":["runtime.pipeline","runtime.schedule","runtime.execution","runtime.workflow","runtime.action","environment.environment","environment.secret","environment.configuration","environment.variable"],"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["resource","authorizations"]},"UserAuthorization.jsonld":{"type":"object","description":"","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":{"enum":["runtime.pipeline","runtime.schedule","runtime.execution","runtime.workflow","runtime.action","environment.environment","environment.secret","environment.configuration","environment.variable"],"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["resource","authorizations"]},"UserId":{"type":"object","description":"","properties":{"nil":{"readOnly":true,"type":"boolean"}}},"UserId.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"nil":{"readOnly":true,"type":"boolean"}}},"Variable-read":{"type":"object","description":"","properties":{"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}],"nullable":true},"name":{"type":"string"}}},"Variable.jsonld-read":{"type":"object","description":"","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConfiguration-read":{"type":"object","description":"","properties":{"configuration":{"anyOf":[{"$ref":"#\/components\/schemas\/Configuration-read"}],"nullable":true},"item":{"type":"string"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConfiguration-write":{"type":"object","description":""},"VariableFromConfiguration.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"anyOf":[{"$ref":"#\/components\/schemas\/Configuration.jsonld-read"}],"nullable":true},"item":{"type":"string"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConfiguration.jsonld-write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"name":{"type":"string"},"from":{"type":"string"}}},"VariableFromConfigurationInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"value":{"type":"string"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConstant-write":{"type":"object","description":""},"VariableFromConstant.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConstant.jsonld-write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"VariableFromConstantInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"secret":{"anyOf":[{"$ref":"#\/components\/schemas\/Secret-read"}],"nullable":true},"item":{"type":"string"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}],"nullable":true},"name":{"type":"string"}}},"VariableFromSecret-write":{"type":"object","description":""},"VariableFromSecret.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"anyOf":[{"$ref":"#\/components\/schemas\/Secret.jsonld-read"}],"nullable":true},"item":{"type":"string"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}],"nullable":true},"name":{"type":"string"}}},"VariableFromSecret.jsonld-write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"name":{"type":"string"},"from":{"type":"string"}}},"VariableFromSecretInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["id","code","label","repositories","auths"],"properties":{"id":{"type":"string","format":"uuid"},"isSoftDeleted":{"type":"boolean"},"code":{"type":"string"},"label":{"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"}},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"currentVersion":{"type":"integer"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"Workflow.CompileWorkflowCommand-read":{"type":"object","description":""},"Workflow.CompileWorkflowCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.CompileWorkflowCommandInput":{"type":"object","description":""},"Workflow.CompileWorkflowCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowCommand-read":{"type":"object","description":""},"Workflow.DeclareWorkflowCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowCommandInput":{"type":"object","description":"","required":["jobs","composer","code","label"],"properties":{"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/Job"}},"composer":{"$ref":"#\/components\/schemas\/Composer"},"code":{"type":"string"},"label":{"type":"string"}}},"Workflow.DeclareWorkflowCommandInput.jsonld":{"type":"object","description":"","required":["jobs","composer","code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/Job.jsonld"}},"composer":{"$ref":"#\/components\/schemas\/Composer.jsonld"},"code":{"type":"string"},"label":{"type":"string"}}},"Workflow.DeclareWorkflowScheduleCrontabCommand-read":{"type":"object","description":""},"Workflow.DeclareWorkflowScheduleCrontabCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowScheduleCrontabCommandInput":{"type":"object","description":"","properties":{"crontab":{"pattern":"^(.*((?:@(?:annually|yearly|monthly|weekly|daily|midnight|hourly))|(?:@every (?:\\d+(?:ns|us|\u00b5s|ms|s|m|h))+)|(?:(?:(?:(?:\\d+,)+\\d+|(?:\\d+(?:\/|-)\\d+)|\\d+|\\*) ?){5})).*)$","type":"string"},"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Workflow.DeclareWorkflowScheduleCrontabCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"crontab":{"pattern":"^(.*((?:@(?:annually|yearly|monthly|weekly|daily|midnight|hourly))|(?:@every (?:\\d+(?:ns|us|\u00b5s|ms|s|m|h))+)|(?:(?:(?:(?:\\d+,)+\\d+|(?:\\d+(?:\/|-)\\d+)|\\d+|\\*) ?){5})).*)$","type":"string"},"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Workflow.DeclareWorkflowScheduleImmediateCommand-read":{"type":"object","description":""},"Workflow.DeclareWorkflowScheduleImmediateCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowScheduleImmediateCommandInput":{"type":"object","description":"","properties":{"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Workflow.DeclareWorkflowScheduleImmediateCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"environment":{"oneOf":[{"format":"uuid"}],"type":"string","nullable":true}}},"Workflow.RemoveWorkflowCommand-read":{"type":"object","description":""},"Workflow.RemoveWorkflowCommand.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.RemoveWorkflowCommandInput":{"type":"object","description":""},"Workflow.RemoveWorkflowCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.jsonld-read":{"type":"object","description":"","required":["id","code","label","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}]},"id":{"type":"string","format":"uuid"},"isSoftDeleted":{"type":"boolean"},"code":{"type":"string"},"label":{"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"}},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"currentVersion":{"type":"integer"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}}}},"WorkflowJob-read":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"workflow":{"anyOf":[{"$ref":"#\/components\/schemas\/Workflow-read"}],"nullable":true},"pipeline":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-read"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction-read"}],"nullable":true}},"required":["workflow"]},"WorkflowJob.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"workflow":{"anyOf":[{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}],"nullable":true},"pipeline":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld-read"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-read"}],"nullable":true}},"required":["workflow"]},"WorkflowJobAction":{"type":"object","description":"","required":["job","code","label","configuration"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}}},"WorkflowJobAction-read":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","label","configuration"]},"WorkflowJobAction.jsonld":{"type":"object","description":"","required":["job","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"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}}},"WorkflowJobAction.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","label","configuration"]},"WorkflowJobPipeline":{"type":"object","description":"","required":["job","id","code","label"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline-read":{"type":"object","description":"","required":["id","code","label"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep-read"}}}},"WorkflowJobPipeline.jsonld":{"type":"object","description":"","required":["job","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}]},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld-read":{"type":"object","description":"","required":["id","code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld-read"}}}},"Workspace":{"type":"object","description":"","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},"region":{"anyOf":[{"$ref":"#\/components\/schemas\/Region"}],"nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","organization","region"]},"Workspace.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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},"region":{"anyOf":[{"$ref":"#\/components\/schemas\/Region.jsonld"}],"nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","organization","region"]},"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"},"organization":{"type":"string","example":"00000000-0000-0000-0000-000000000000"},"workspace":{"type":"string","example":"00000000-0000-0000-0000-000000000000"}},"required":["username","password"]},"Token:update":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials:update":{"type":"object","properties":{"organization":{"type":"string","example":"b56594c3-4d59-4a4a-93b4-3f44b0d785b7"},"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.0","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-user.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-user.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-user.read"}}}}}},"summary":"Get the current user","description":"Get the current user","parameters":[{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/offers\/{id}\/options":{"get":{"operationId":"api_subscription_offers_options_get_subresourceSubscriptionOfferSubresource","tags":["Option","SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer 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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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 SubscriptionOffer resource.","description":"Retrieves a SubscriptionOffer resource.","parameters":[{"name":"id","in":"path","description":"SubscriptionOffer 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-organization.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-organization.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}}},"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-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}},"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\/organizations\/{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-organization.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/organizations\/{id}":{"get":{"operationId":"getOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}},"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-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}},"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\/organizations\/{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-organization.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.write"}}},"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-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}},"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\/organizations\/{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-organization.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/organizations\/{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-authorization.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-authorization.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}}}}},"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\/{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-user.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-user.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-user.read"}}}}}},"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},{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"put":{"operationId":"put_external_collaboratorsOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}},"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\/organizations\/{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-add_collaborators"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-add_collaborators"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-add_collaborators"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/organizations\/{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-user.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-user.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-user.read"}}}}}},"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},{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organizations\/{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-workspace.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-workspace.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}}}}},"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},{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/subscription-offers":{"get":{"operationId":"getSubscriptionOfferCollection","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOffer.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/SubscriptionOffer-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}}}}},"summary":"Retrieves the collection of SubscriptionOffer resources.","description":"Retrieves the collection of SubscriptionOffer 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\/subscription-offers\/{id}":{"get":{"operationId":"getSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a SubscriptionOffer resource.","description":"Retrieves a SubscriptionOffer 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":"putSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}},"links":{"GetSubscriptionOfferItem":{"operationId":"getSubscriptionOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription-offers\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the SubscriptionOffer resource.","description":"Replaces the SubscriptionOffer 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 SubscriptionOffer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-write"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"204":{"description":"SubscriptionOffer resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the SubscriptionOffer resource.","description":"Removes the SubscriptionOffer 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":"patchSubscriptionOfferItem","tags":["SubscriptionOffer"],"responses":{"200":{"description":"SubscriptionOffer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}},"links":{"GetSubscriptionOfferItem":{"operationId":"getSubscriptionOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription-offers\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the SubscriptionOffer resource.","description":"Updates the SubscriptionOffer 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 SubscriptionOffer resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-write"}}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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\/subscriptions\/{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},"parameters":[]},"\/authentication\/subscriptions\/{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\/subscriptions\/{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},"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\/subscriptions\/{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\/{id}\/offer":{"get":{"operationId":"api_subscriptions_offer_get_subresourceSubscriptionSubresource","tags":["SubscriptionOffer","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionOffer-read"}}}}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}},"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-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-authorization.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-authorization.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}}}}},"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-authorization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}},"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-authorizations\/{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-authorization.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user-authorizations\/{id}":{"get":{"operationId":"getUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld-authorization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}}},"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-authorization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}},"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-authorizations\/{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-authorization.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.write"}}},"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-authorization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}},"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-authorizations\/{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-authorization.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user-authorizations\/{id}\/organization":{"get":{"operationId":"api_user_authorizations_organization_get_subresourceUserAuthorizationSubresource","tags":["Organization","UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}},"summary":"Retrieves a UserAuthorization resource.","description":"Retrieves a UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"UserAuthorization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"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-user.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-user.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-user.read"}}}}}},"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},{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","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":"postUserCollection","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld-user.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}},"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\/users\/{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-user.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/users\/{id}":{"get":{"operationId":"getUserItem","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld-user.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}}},"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-user.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}},"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\/users\/{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-user.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.write"}}},"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-user.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}},"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\/users\/{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-user.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/users\/{id}\/additional-organizations":{"get":{"operationId":"api_users_additional_organizations_get_subresourceUserSubresource","tags":["Organization","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization.jsonld-organization.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-organization.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}}},"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\/users\/{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-authorization.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-authorization.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}}}}},"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\/users\/{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-user.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}},"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\/users\/{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-user.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/users\/{id}\/current-organization":{"get":{"operationId":"api_users_current_organization_get_subresourceUserSubresource","tags":["Organization","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}},"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}],"deprecated":false},"parameters":[]},"\/authentication\/users\/{id}\/current-workspace":{"get":{"operationId":"api_users_current_workspace_get_subresourceUserSubresource","tags":["Workspace","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld-workspace.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}}}},"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}],"deprecated":false},"parameters":[]},"\/authentication\/users\/{id}\/organization":{"get":{"operationId":"api_users_organization_get_subresourceUserSubresource","tags":["Organization","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}},"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}],"deprecated":false},"parameters":[]},"\/authentication\/users\/{id}\/workspaces":{"get":{"operationId":"api_users_workspaces_get_subresourceUserSubresource","tags":["Workspace","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld-workspace.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-workspace.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}}}}},"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},{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"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-workspace.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-workspace.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}}}}},"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},{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","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":"postWorkspaceCollection","tags":["Workspace"],"responses":{"201":{"description":"Workspace resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld-workspace.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}},"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\/workspaces\/{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-workspace.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspaces\/{id}":{"get":{"operationId":"getWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld-workspace.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}}},"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-workspace.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}},"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\/workspaces\/{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-workspace.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.write"}}},"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-workspace.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}},"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\/workspaces\/{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-workspace.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspaces\/{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-authorization.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-authorization.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization-authorization.read"}}}}}},"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\/{id}\/organization":{"get":{"operationId":"api_workspaces_organization_get_subresourceWorkspaceSubresource","tags":["Organization","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}},"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}],"deprecated":false},"parameters":[]},"\/authentication\/workspaces\/{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-user.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-user.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-user.read"}}}}}},"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},{"name":"organization","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organization[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"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-configuration.view"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-configuration.view"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}}}}}},"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},"post":{"operationId":"postConfigurationCollection","tags":["Configuration"],"responses":{"201":{"description":"Configuration resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld-configuration.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}}},"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\/configurations\/{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-configuration.create"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.CreateConfigurationInput-configuration.create"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration.CreateConfigurationInput-configuration.create"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/configurations\/{id}":{"get":{"operationId":"getConfigurationItem","tags":["Configuration"],"responses":{"200":{"description":"Configuration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld-configuration.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}}}},"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-configuration.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}}},"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\/configurations\/{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-configuration.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.update"}}},"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\/configurations\/{id}\/change":{"put":{"operationId":"change_valuesConfigurationItem","tags":["Configuration"],"responses":{"200":{"description":"Configuration resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld-configuration.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}}},"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\/configurations\/{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":"Configuration 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-configuration.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.ChangeConfigurationValueInput-configuration.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration.ChangeConfigurationValueInput-configuration.update"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/configurations\/{id}\/remove":{"put":{"operationId":"remove_valuesConfigurationItem","tags":["Configuration"],"responses":{"200":{"description":"Configuration resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld-configuration.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration-configuration.view"}}},"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\/configurations\/{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":"Configuration 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-configuration.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.RemoveConfigurationValueInput-configuration.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration.RemoveConfigurationValueInput-configuration.update"}}},"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-environment.view"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-environment.view"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}}}}},"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},"post":{"operationId":"postEnvironmentCollection","tags":["Environment"],"responses":{"201":{"description":"Environment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}},"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\/environments\/{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-environment.create"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.CreateEnvironmentInput-environment.create"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.CreateEnvironmentInput-environment.create"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environments\/{id}":{"get":{"operationId":"getEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}}},"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-environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}},"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\/environments\/{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-environment.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.update"}}},"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\/environments\/{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-environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}},"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\/environments\/{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-environment.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConfigurationInput-environment.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConfigurationInput-environment.update"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environments\/{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-environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}},"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\/environments\/{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-environment.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConstantInput-environment.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConstantInput-environment.update"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environments\/{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-environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}},"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\/environments\/{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-environment.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromSecretInput-environment.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromSecretInput-environment.update"}}},"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-secret.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-secret.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret-secret.read"}}}}}},"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},"post":{"operationId":"postSecretCollection","tags":["Secret"],"responses":{"201":{"description":"Secret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld-secret.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}}},"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\/secrets\/{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-secret.create"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.CreateSecretInput-secret.create"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.CreateSecretInput-secret.create"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/secrets\/{id}":{"get":{"operationId":"getSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld-secret.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}}}},"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-secret.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}}},"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\/secrets\/{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-secret.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.update"}}},"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\/secrets\/{id}\/change":{"put":{"operationId":"change_valuesSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld-secret.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}}},"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\/secrets\/{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":"Secret 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-secret.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.ChangeSecretValueInput-secret.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.ChangeSecretValueInput-secret.update"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/secrets\/{id}\/remove":{"put":{"operationId":"remove_valuesSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld-secret.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret-secret.read"}}},"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\/secrets\/{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":"Secret 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-secret.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.RemoveSecretValueInput-secret.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.RemoveSecretValueInput-secret.update"}}},"required":true},"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-variable.view_environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-variable.view_environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-variable.view_environment.view"}}}},"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-variable.view_environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-variable.view_environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-variable.view_environment.view"}}},"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-variable.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-variable.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-variable.update"}}},"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":[]},"\/environment\/variables-from-constant\/{id}":{"get":{"operationId":"getVariableFromConstantItem","tags":["VariableFromConstant"],"responses":{"200":{"description":"VariableFromConstant resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant.jsonld-variable.view_environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-variable.view_environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-variable.view_environment.view"}}}},"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-variable.view_environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-variable.view_environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-variable.view_environment.view"}}},"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 \/environment\/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-variable.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-variable.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-variable.update"}}},"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":[]},"\/environment\/variables-from-secret\/{id}":{"get":{"operationId":"getVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld-variable.view_environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-variable.view_environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-variable.view_environment.view"}}}},"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-variable.view_environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-variable.view_environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-variable.view_environment.view"}}},"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\/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-variable.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-variable.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-variable.update"}}},"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":[]},"\/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\/instances\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/instances\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/instances\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/instances\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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},"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-accounts\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/oauth\/akeneo-oauth-tokens":{"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\/akeneo-oauth-tokens\/{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\/akeneo-oauth-tokens\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/akeneo-oauth-tokens\/{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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/codes\/{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\/codes\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-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-requests\/{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\/referral-requests\/{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-requests\/{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-requests\/{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-requests\/{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-requests\/{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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/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-action.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-action.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-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\/actions\/{id}":{"get":{"operationId":"getActionItem","tags":["Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Action.jsonld-action.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Action-action.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Action-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\/actions\/{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-organization.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization-organization.read"}}}}},"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\/{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-user.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}}}},"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\/{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-workspace.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace-workspace.read"}}}}},"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\/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-compilation.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-compilation.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Compilation-compilation.read"}}}}}},"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\/compilations\/{id}":{"get":{"operationId":"getCompilationItem","tags":["Compilation"],"responses":{"200":{"description":"Compilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Compilation.jsonld-compilation.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Compilation-compilation.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Compilation-compilation.read"}}}},"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\/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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-pipeline-jobs\/{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-execution.pipeline.step.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.pipeline.step.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep-execution.pipeline.step.read"}}}}}},"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\/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-execution.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-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},{"name":"schedule","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"schedule[]","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_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand.jsonld-execution.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-execution.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-execution.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\/executions\/{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\/execution-actions\/{id}":{"get":{"operationId":"getExecutionActionItem","tags":["ExecutionAction"],"responses":{"200":{"description":"ExecutionAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld-execution.action.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction-execution.action.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction-execution.action.read"}}}},"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\/executions\/execution-pipelines\/{id}":{"get":{"operationId":"getExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld-execution.pipeline.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}}}},"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\/executions\/execution-workflows\/{id}":{"get":{"operationId":"getExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld-execution.workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}}}},"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\/executions\/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-execution.pipeline.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.pipeline.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}}}}}},"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\/executions\/pipelines\/execution-pipeline-steps\/{id}":{"get":{"operationId":"getExecutionPipelineStepItem","tags":["ExecutionPipelineStep"],"responses":{"200":{"description":"ExecutionPipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld-execution.pipeline.step.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep-execution.pipeline.step.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep-execution.pipeline.step.read"}}}},"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\/executions\/pipelines\/jobs\/{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\/executions\/pipelines\/{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-execution.pipeline.step.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.pipeline.step.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep-execution.pipeline.step.read"}}}}}},"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\/executions\/runtime\/executions\/pipelines\/{id}\/steps\/{stepCode}\/logs":{"get":{"operationId":"get_execution_logsExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"202":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld-execution.pipeline.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}}}},"404":{"description":"Resource not found"}},"summary":"Get logs from a selected step","description":"Get logs from a selected step","parameters":[{"name":"stepCode","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\/executions\/runtime\/executions\/pipelines\/{id}\/steps\/{stepCode}\/rejects":{"get":{"operationId":"get_execution_rejectsExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"202":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld-execution.pipeline.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}}}},"404":{"description":"Resource not found"}},"summary":"Get rejects from a selected step","description":"Get rejects from a selected step","parameters":[{"name":"stepCode","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\/executions\/runtime\/executions\/workflows\/{id}\/pipelines\/{jobCode}\/steps\/{stepCode}\/logs":{"get":{"operationId":"get_execution_action_logsExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld-execution.workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}}}},"404":{"description":"Resource not found"}},"summary":"Get logs from an executed step","description":"Get logs from an executed step","parameters":[{"name":"jobCode","in":"path","description":"Job 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\/executions\/runtime\/executions\/workflows\/{id}\/pipelines\/{jobCode}\/steps\/{stepCode}\/rejects":{"get":{"operationId":"get_execution_pipeline_rejectsExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld-execution.workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}}}},"404":{"description":"Resource not found"}},"summary":"Get rejects from an executed step","description":"Get rejects from an executed step","parameters":[{"name":"jobCode","in":"path","description":"Job resource id","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"stepCode","in":"path","description":"Step resource id","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\/executions\/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-execution.workflow.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.workflow.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}}}}}},"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\/executions\/workflows\/execution-workflow-job-actions\/{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\/executions\/workflows\/execution-workflow-jobs\/{id}":{"get":{"operationId":"getExecutionWorkflowJobItem","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld-execution.workflow.job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob-execution.workflow.job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob-execution.workflow.job.read"}}}},"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\/executions\/workflows\/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-execution.workflow.job.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.workflow.job.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob-execution.workflow.job.read"}}}}}},"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\/executions\/workflows\/jobs\/{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\/executions\/workflows\/jobs\/{id}\/pipelines":{"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\/executions\/workflows\/jobs\/{id}\/pipelines\/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-execution.pipeline.step.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.pipeline.step.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep-execution.pipeline.step.read"}}}}}},"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\/executions\/workflows\/{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-execution.workflow.job.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.workflow.job.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob-execution.workflow.job.read"}}}}}},"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\/executions\/workflows\/{id}\/jobs\/{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\/executions\/workflows\/{id}\/jobs\/{job}\/pipelines":{"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\/executions\/{id}":{"get":{"operationId":"getExecutionItem","tags":["Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.jsonld-execution.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution-execution.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution-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\/executions\/{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-execution.action.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction-execution.action.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction-execution.action.read"}}}}},"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\/{id}\/environment":{"get":{"operationId":"api_executions_environment_get_subresourceExecutionSubresource","tags":["Environment","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-environment.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-environment.view"}}}}},"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\/{id}\/interrupt":{"put":{"operationId":"interrupt_executionExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommand.jsonld-execution.workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommand-execution.workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommand-execution.workflow.read"}}},"links":{"GetExecutionWorkflowItem":{"operationId":"getExecutionWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/executions\/execution-workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Interrupts a workflow execution","description":"Interrupts a workflow 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 ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.InterruptWorkflowExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/{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-execution.pipeline.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline-execution.pipeline.read"}}}}},"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\/{id}\/resume":{"put":{"operationId":"resume_executionExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommand.jsonld-execution.workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommand-execution.workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommand-execution.workflow.read"}}},"links":{"GetExecutionWorkflowItem":{"operationId":"getExecutionWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/executions\/execution-workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Resumes a workflow execution","description":"Resumes a workflow 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 ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.ResumeWorkflowExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/{id}\/schedule":{"get":{"operationId":"api_executions_schedule_get_subresourceExecutionSubresource","tags":["Schedule","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.jsonld-schedule.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule-schedule.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule-schedule.read"}}}}},"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\/{id}\/terminate":{"put":{"operationId":"terminate_executionExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"202":{"description":"ExecutionWorkflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommand.jsonld-execution.workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommand-execution.workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommand-execution.workflow.read"}}},"links":{"GetExecutionWorkflowItem":{"operationId":"getExecutionWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/executions\/execution-workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Terminates a workflow execution","description":"Terminates a workflow 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 ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.TerminateWorkflowExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/{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-execution.workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow-execution.workflow.read"}}}}},"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\/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-step.probe.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-step.probe.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe-step.probe.read"}}}}}},"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-probes\/{id}":{"get":{"operationId":"getPipelineStepProbeItem","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld-step.probe.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe-step.probe.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe-step.probe.read"}}}},"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-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-step.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-step.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep-step.read"}}}}}},"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-steps\/{id}":{"get":{"operationId":"getPipelineStepItem","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld-step.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep-step.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep-step.read"}}}},"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\/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-pipeline.read_pipeline.subresource.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-pipeline.read_pipeline.subresource.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-pipeline.read_pipeline.subresource.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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a pipeline","description":"Declares a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput.jsonld-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/{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-step.probe.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-step.probe.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe-step.probe.read"}}}}}},"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\/pipelines\/{id}":{"get":{"operationId":"getPipelineItem","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/add-psr4-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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{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-compilation.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-compilation.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Compilation-compilation.read"}}}}}},"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\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Launches a pipeline compilation","description":"Launches 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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/remove-psr4-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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/schedule-now":{"put":{"operationId":"pipeline_schedule_immediatePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommand.jsonld-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a pipeline for immediate execution","description":"Schedule a pipeline for immediate 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 Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommandInput.jsonld-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleImmediateCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/schedule-once":{"put":{"operationId":"pipeline_schedule_oncePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommand.jsonld-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a pipeline to a specific date","description":"Schedule a pipeline to a specific date","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.DeclarePipelineScheduleOnceCommandInput.jsonld-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineScheduleOnceCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/schedules":{"get":{"operationId":"api_pipelines_schedules_get_subresourcePipelineSubresource","tags":["Schedule","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule.jsonld-schedule.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-schedule.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule-schedule.read"}}}}}},"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},{"name":"pipeline","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"pipeline[]","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\/pipelines\/{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-step.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-step.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep-step.read"}}}}}},"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},"put":{"operationId":"append_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/steps\/{code}":{"put":{"operationId":"replace_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"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\/pipelines\/{id}\/steps\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/steps\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/steps\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/steps\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/steps\/{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-pipeline.read_pipeline.subresource.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-pipeline.read_pipeline.subresource.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-pipeline.read_pipeline.subresource.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\/pipelines\/{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.AddPipelineStepProbeCommandInput.jsonld-pipeline.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommandInput-pipeline.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommandInput-pipeline.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/{id}\/steps\/{code}\/probes\/{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\/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-schedule.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-schedule.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule-schedule.read"}}}}}},"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},{"name":"pipeline","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"pipeline[]","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\/schedules\/{id}":{"get":{"operationId":"getScheduleItem","tags":["Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.jsonld-schedule.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule-schedule.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule-schedule.read"}}}},"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\/schedules\/{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-execution.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-execution.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-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},{"name":"schedule","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"schedule[]","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\/templates":{"get":{"operationId":"getTemplateCollection","tags":["Template"],"responses":{"200":{"description":"Template collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Template.jsonld-template.list"}},"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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/Template-template.list"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Template-template.list"}}}}}},"summary":"Retrieves the collection of Template resources.","description":"Retrieves the collection of Template 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},{"name":"label","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"label[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"description","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"description[]","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":"postTemplateCollection","tags":["Template"],"responses":{"201":{"description":"Template resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Template.jsonld-template.create"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Template-template.create"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Template-template.create"}}},"links":{"GetTemplateItem":{"operationId":"getTemplateItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/templates\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Template resource.","description":"Creates a Template resource.","parameters":[],"requestBody":{"description":"The new Template resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Template.DeclareSatelliteTemplateInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Template.DeclareSatelliteTemplateInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Template.DeclareSatelliteTemplateInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/templates\/{id}":{"get":{"operationId":"getTemplateItem","tags":["Template"],"responses":{"200":{"description":"Template resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Template.jsonld-template.view"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Template-template.view"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Template-template.view"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Template resource.","description":"Retrieves a Template 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":"putTemplateItem","tags":["Template"],"responses":{"200":{"description":"Template resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Template.jsonld-template.update"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Template-template.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Template-template.update"}}},"links":{"GetTemplateItem":{"operationId":"getTemplateItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/templates\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Template resource.","description":"Replaces the Template 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 Template resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Template.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Template"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Template"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteTemplateItem","tags":["Template"],"responses":{"204":{"description":"Template resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Template resource.","description":"Removes the Template 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\/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-workflow.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-workflow.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-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},{"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_workflowWorkflowCollection","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommand.jsonld-workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommand-workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommand-workflow.read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a workflow","description":"Declares a workflow","parameters":[],"requestBody":{"description":"The new Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/actions":{"get":{"operationId":"getWorkflowJobActionCollection","tags":["WorkflowJobAction"],"responses":{"200":{"description":"WorkflowJobAction collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-action.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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\/WorkflowJobAction-action.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJobAction-action.read"}}}}}},"summary":"Retrieves the collection of WorkflowJobAction resources.","description":"Retrieves the collection of WorkflowJobAction 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\/workflows\/actions\/{id}":{"get":{"operationId":"getWorkflowJobActionItem","tags":["WorkflowJobAction"],"responses":{"200":{"description":"WorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-action.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction-action.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction-action.read"}}}},"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\/workflows\/jobs\/{id}":{"get":{"operationId":"getWorkflowJobItem","tags":["WorkflowJob"],"responses":{"200":{"description":"WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-job.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},"delete":{"operationId":"delete_jobWorkflowJobItem","tags":["WorkflowJob"],"responses":{"204":{"description":"WorkflowJob resource deleted"},"404":{"description":"Resource not found"}},"summary":"Deletes a job","description":"Deletes a job","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\/workflows\/jobs\/{id}\/pipelines\/steps":{"put":{"operationId":"append_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"202":{"description":"WorkflowJob resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AppendWorkflowPipelineStepCommand.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AppendWorkflowPipelineStepCommand-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AppendWorkflowPipelineStepCommand-job.read"}}},"links":{"GetWorkflowJobItem":{"operationId":"getWorkflowJobItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/jobs\/{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 WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AppendWorkflowPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AppendWorkflowPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AppendWorkflowPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/jobs\/{id}\/pipelines\/steps\/reorder":{"put":{"operationId":"reorder_pipeline_stepsWorkflowJobItem","tags":["WorkflowJob"],"responses":{"202":{"description":"WorkflowJob resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReorderWorkflowPipelineStepsCommand.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReorderWorkflowPipelineStepsCommand-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReorderWorkflowPipelineStepsCommand-job.read"}}},"links":{"GetWorkflowJobItem":{"operationId":"getWorkflowJobItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/jobs\/{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 WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReorderWorkflowPipelineStepsCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReorderWorkflowPipelineStepsCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReorderWorkflowPipelineStepsCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/jobs\/{id}\/pipelines\/steps\/{code}":{"get":{"operationId":"get_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"200":{"description":"WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-job.read"}}}},"404":{"description":"Resource not found"}},"summary":"Get a step from a pipeline","description":"Get 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},"put":{"operationId":"replace_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"202":{"description":"WorkflowJob resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReplaceWorkflowPipelineStepCommand.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReplaceWorkflowPipelineStepCommand-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReplaceWorkflowPipelineStepCommand-job.read"}}},"links":{"GetWorkflowJobItem":{"operationId":"getWorkflowJobItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/jobs\/{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":"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}],"requestBody":{"description":"The updated WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReplaceWorkflowPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReplaceWorkflowPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.ReplaceWorkflowPipelineStepCommandInput"}}},"required":true},"deprecated":false},"delete":{"operationId":"delete_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"204":{"description":"WorkflowJob 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\/workflows\/jobs\/{id}\/pipelines\/steps\/{code}\/add-after":{"put":{"operationId":"add_after_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"202":{"description":"WorkflowJob resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddAfterWorkflowPipelineStepCommand.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddAfterWorkflowPipelineStepCommand-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddAfterWorkflowPipelineStepCommand-job.read"}}},"links":{"GetWorkflowJobItem":{"operationId":"getWorkflowJobItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/jobs\/{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":"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}],"requestBody":{"description":"The updated WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddAfterWorkflowPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddAfterWorkflowPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddAfterWorkflowPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/jobs\/{id}\/pipelines\/steps\/{code}\/add-before":{"put":{"operationId":"add_before_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"202":{"description":"WorkflowJob resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddBeforeWorkflowPipelineStepCommand.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddBeforeWorkflowPipelineStepCommand-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddBeforeWorkflowPipelineStepCommand-job.read"}}},"links":{"GetWorkflowJobItem":{"operationId":"getWorkflowJobItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/jobs\/{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":"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}],"requestBody":{"description":"The updated WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddBeforeWorkflowPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddBeforeWorkflowPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.AddBeforeWorkflowPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/jobs\/{id}\/pipelines\/steps\/{code}\/move-after":{"put":{"operationId":"move_after_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"202":{"description":"WorkflowJob resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveAfterWorkflowPipelineStepCommand.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveAfterWorkflowPipelineStepCommand-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveAfterWorkflowPipelineStepCommand-job.read"}}},"links":{"GetWorkflowJobItem":{"operationId":"getWorkflowJobItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/jobs\/{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":"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}],"requestBody":{"description":"The updated WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveAfterWorkflowPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveAfterWorkflowPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveAfterWorkflowPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/jobs\/{id}\/pipelines\/steps\/{code}\/move-before":{"put":{"operationId":"move_before_pipeline_stepWorkflowJobItem","tags":["WorkflowJob"],"responses":{"202":{"description":"WorkflowJob resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveBeforeWorkflowPipelineStepCommand.jsonld-job.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveBeforeWorkflowPipelineStepCommand-job.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveBeforeWorkflowPipelineStepCommand-job.read"}}},"links":{"GetWorkflowJobItem":{"operationId":"getWorkflowJobItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/jobs\/{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":"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}],"requestBody":{"description":"The updated WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveBeforeWorkflowPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveBeforeWorkflowPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.MoveBeforeWorkflowPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/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-pipeline.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-pipeline.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-pipeline.read"}}}}}},"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\/workflows\/pipelines\/{id}":{"get":{"operationId":"getWorkflowJobPipelineItem","tags":["WorkflowJobPipeline"],"responses":{"200":{"description":"WorkflowJobPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld-pipeline.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-pipeline.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-pipeline.read"}}}},"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\/workflows\/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-step.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-step.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep-step.read"}}}}}},"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\/workflows\/{id}":{"get":{"operationId":"getWorkflowItem","tags":["Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-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\/workflows\/{id}\/compile":{"put":{"operationId":"workflow_compilationWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommand.jsonld-workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommand-workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommand-workflow.read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Launches a workflow compilation","description":"Launches a workflow 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 Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.CompileWorkflowCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/{id}\/delete":{"put":{"operationId":"soft_deleteWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommand.jsonld-workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommand-workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommand-workflow.read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Deletes a workflow softly","description":"Deletes a workflow softly","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 Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.RemoveWorkflowCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/{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-job.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"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"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-job.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-job.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\/workflows\/{id}\/schedule-crontab":{"put":{"operationId":"workflow_schedule_crontabWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommand.jsonld-workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommand-workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommand-workflow.read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a crontab for a workflow","description":"Schedule a crontab for a workflow","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 Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleCrontabCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/workflows\/{id}\/schedule-immediate":{"put":{"operationId":"workflow_schedule_immediateWorkflowItem","tags":["Workflow"],"responses":{"202":{"description":"Workflow resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommand.jsonld-workflow.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommand-workflow.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommand-workflow.read"}}},"links":{"GetWorkflowItem":{"operationId":"getWorkflowItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/workflows\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Schedule a workflow to start immediately","description":"Schedule a workflow to start immediately","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 Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow.DeclareWorkflowScheduleImmediateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]}},"components":{"schemas":{"AbstractPipeline-execution.pipeline.step.read":{"type":"object","description":""},"AbstractPipeline-job.read":{"type":"object","description":"","required":["code","label"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep-job.read"}}}},"AbstractPipeline-step.read":{"type":"object","description":""},"AbstractPipeline.jsonld-execution.pipeline.step.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"AbstractPipeline.jsonld-job.read":{"type":"object","description":"","required":["code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld-job.read"}}}},"AbstractPipeline.jsonld-step.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Action":{"type":"object","description":"","required":["configuration"],"properties":{"configuration":{"type":"object","additionalProperties":{"type":"string"}}}},"Action-action.read":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","label","configuration"]},"Action.jsonld":{"type":"object","description":"","required":["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"},"configuration":{"type":"object","additionalProperties":{"type":"string"}}}},"Action.jsonld-action.read":{"type":"object","description":"","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"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","label","configuration"]},"AkeneoInstance":{"type":"object","description":"","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","description":"","properties":{"pimUrl":{"type":"string"},"organization":{"type":"string","format":"uuid"},"secret":{"$ref":"#\/components\/schemas\/CreateSecretInput"}}},"AkeneoInstance.AkeneoInstanceInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","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","description":"","properties":{"akeneoInstance":{"type":"string","format":"uuid"},"tokenId":{"type":"string","format":"uuid"},"akeneoUserId":{"type":"string","format":"uuid"},"token":{"type":"string"}}},"AkeneoLinkedAccount.AkeneoLinkedAccountsInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"scopes":{"minItems":1,"type":"array","items":{"type":"string"}},"responseType":{"enum":["code"],"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"AkeneoOauthToken.OauthStateInput":{"type":"object","description":"","properties":{"url":{"type":"string"},"scope":{"type":"array","items":{"type":"string"}}}},"AkeneoOauthToken.OauthStateInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"AkeneoOauthToken.OauthStateOutput.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"url":{"type":"string"},"state":{"type":"string"},"code":{"type":"string"}}},"AkeneoOauthToken.OauthTokenInput.jsonld":{"type":"object","description":"","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","description":""},"AkeneoOauthToken.OauthTokenOutput.jsonld-read":{"type":"object","description":"","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"AkeneoOauthToken.jsonld-read":{"type":"object","description":"","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":{"minItems":1,"type":"array","items":{"type":"string"}},"responseType":{"enum":["code"],"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"BigDecimal":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}},"Buyable":{"type":"object","description":"","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/BuyablePrice"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}},"required":["sku","name","slug","shortDescription","description","features"]},"Buyable.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/BuyablePrice.jsonld"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}},"required":["sku","name","slug","shortDescription","description","features"]},"BuyablePrice":{"type":"object","description":"","properties":{"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"buyable":{"$ref":"#\/components\/schemas\/Buyable"},"type":{"$ref":"#\/components\/schemas\/SubscriptionType"},"amount":{"readOnly":true,"$ref":"#\/components\/schemas\/Price"}}},"BuyablePrice-read":{"type":"object","description":"","properties":{"type":{"$ref":"#\/components\/schemas\/SubscriptionType-read"}}},"BuyablePrice.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"buyable":{"$ref":"#\/components\/schemas\/Buyable.jsonld"},"type":{"$ref":"#\/components\/schemas\/SubscriptionType.jsonld"},"amount":{"readOnly":true,"$ref":"#\/components\/schemas\/Price.jsonld"}}},"BuyablePrice.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"type":{"$ref":"#\/components\/schemas\/SubscriptionType.jsonld-read"}}},"Color-read":{"type":"object","description":""},"Color.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Compilation-compilation.read":{"type":"object","description":"","required":["id","pipeline"],"properties":{"id":{"type":"string","format":"uuid"},"currentVersion":{"type":"integer"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true}}},"Compilation.jsonld-compilation.read":{"type":"object","description":"","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"},"currentVersion":{"type":"integer"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true}}},"Composer":{"type":"object","description":"","properties":{"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAutoload"}},"packages":{"type":"object","additionalProperties":{"type":"string"}},"repositories":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerRepository"}},"authentications":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAuthentication"}}}},"Composer.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAutoload.jsonld"}},"packages":{"type":"object","additionalProperties":{"type":"string"}},"repositories":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerRepository.jsonld"}},"authentications":{"type":"array","items":{"$ref":"#\/components\/schemas\/ComposerAuthentication.jsonld"}}}},"ComposerAuthentication":{"type":"object","description":"","required":["url","token"],"properties":{"url":{"type":"string"},"token":{"type":"string"}}},"ComposerAuthentication.jsonld":{"type":"object","description":"","required":["url","token"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}},"ComposerAutoload":{"type":"object","description":"","properties":{"type":{"enum":["psr-4"],"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["paths"]},"ComposerAutoload.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"type":{"enum":["psr-4"],"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["paths"]},"ComposerRepository":{"type":"object","description":"","required":["name"],"properties":{"name":{"type":"string"},"type":{"enum":["git","vcs","composer"],"type":"string"},"url":{"oneOf":[{"pattern":"^(.*(((git|ssh|http(s)?)|(git@[\\w\\.]+))(:(\/\/)?)([\\w\\.@\\:\/\\-~]+)(\\.git)(\/)?).*)$"}],"type":"string"}}},"ComposerRepository.jsonld":{"type":"object","description":"","required":["name"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"enum":["git","vcs","composer"],"type":"string"},"url":{"oneOf":[{"pattern":"^(.*(((git|ssh|http(s)?)|(git@[\\w\\.]+))(:(\/\/)?)([\\w\\.@\\:\/\\-~]+)(\\.git)(\/)?).*)$"}],"type":"string"}}},"Configuration-configuration.update":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Configuration-configuration.view":{"type":"object","description":"","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","nullable":true}}}},"Configuration.ChangeConfigurationValueInput-configuration.update":{"type":"object","description":"","properties":{"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Configuration.ChangeConfigurationValueInput.jsonld-configuration.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Configuration.CreateConfigurationInput-configuration.create":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Configuration.CreateConfigurationInput.jsonld-configuration.create":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Configuration.RemoveConfigurationValueInput-configuration.update":{"type":"object","description":"","properties":{"contents":{"type":"array","items":{"type":"string"}}}},"Configuration.RemoveConfigurationValueInput.jsonld-configuration.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"array","items":{"type":"string"}}}},"Configuration.jsonld-configuration.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-configuration.view":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","nullable":true}}}},"Context":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"CreateSecretInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Currency":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-environment.update":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Environment-environment.view":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"variables":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Environment-variable.view_environment.view":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/Variable-variable.view_environment.view"}}}},"Environment.AddMultipleVariableFromConfigurationInput-environment.update":{"type":"object","description":"","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigurationInput-environment.update"}}}},"Environment.AddMultipleVariableFromConfigurationInput.jsonld-environment.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-environment.update"}}}},"Environment.AddMultipleVariableFromConstantInput-environment.update":{"type":"object","description":"","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConstantInput-environment.update"}}}},"Environment.AddMultipleVariableFromConstantInput.jsonld-environment.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-environment.update"}}}},"Environment.AddMultipleVariableFromSecretInput-environment.update":{"type":"object","description":"","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecretInput-environment.update"}}}},"Environment.AddMultipleVariableFromSecretInput.jsonld-environment.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-environment.update"}}}},"Environment.CreateEnvironmentInput-environment.create":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"variables":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Environment.CreateEnvironmentInput.jsonld-environment.create":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}}},"Environment.jsonld-environment.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}},"Environment.jsonld-environment.view":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"variables":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Environment.jsonld-variable.view_environment.view":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/Variable.jsonld-variable.view_environment.view"}}}},"Execution-execution.read":{"type":"object","description":"","required":["id","owner","workspace","organization","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"id":{"type":"string","format":"uuid"},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"},"code":{"type":"string"},"status":{"enum":["declared","scheduled","starting","started","stopped","finished","halted","unknown"],"default":"unknown","example":"unknown","type":"string"},"errors":{"minimum":0,"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},"currentVersion":{"type":"integer"},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true},"schedule":{"type":"string","format":"iri-reference"},"environment":{"type":"string","format":"iri-reference","nullable":true}}},"Execution.DeclarePipelineExecutionCommand-execution.read":{"type":"object","description":""},"Execution.DeclarePipelineExecutionCommand.jsonld-execution.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["schedule","pipeline"],"properties":{"schedule":{"$ref":"#\/components\/schemas\/Schedule"},"pipeline":{"$ref":"#\/components\/schemas\/Pipeline"}}},"Execution.DeclarePipelineExecutionCommandInput.jsonld":{"type":"object","description":"","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":{"$ref":"#\/components\/schemas\/Schedule.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/Pipeline.jsonld"}}},"Execution.InterruptPipelineExecutionCommand-execution.read":{"type":"object","description":""},"Execution.InterruptPipelineExecutionCommand.jsonld-execution.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Execution.InterruptPipelineExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-execution.read":{"type":"object","description":""},"Execution.ResumePipelineExecutionCommand.jsonld-execution.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":""},"Execution.ResumePipelineExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-execution.read":{"type":"object","description":""},"Execution.TerminatePipelineExecutionCommand.jsonld-execution.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","required":["reason"],"properties":{"reason":{"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput.jsonld":{"type":"object","description":"","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.jsonld-execution.read":{"type":"object","description":"","required":["id","owner","workspace","organization","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"},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"},"code":{"type":"string"},"status":{"enum":["declared","scheduled","starting","started","stopped","finished","halted","unknown"],"default":"unknown","example":"unknown","type":"string"},"errors":{"minimum":0,"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},"currentVersion":{"type":"integer"},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true},"schedule":{"type":"string","format":"iri-reference"},"environment":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionAction-execution.action.read":{"type":"object","description":"","required":["execution","id"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld-execution.action.read":{"type":"object","description":"","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-execution.pipeline.read":{"type":"object","description":"","required":["execution"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipeline.jsonld-execution.pipeline.read":{"type":"object","description":"","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":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob":{"type":"object","description":"","required":["job"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob.jsonld":{"type":"object","description":"","required":["job"],"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":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineStep-execution.pipeline.step.read":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline-execution.pipeline.step.read"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionPipelineStep.jsonld-execution.pipeline.step.read":{"type":"object","description":"","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-execution.pipeline.step.read"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionWorkflow-execution.workflow.read":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflow.InterruptWorkflowExecutionCommand-execution.workflow.read":{"type":"object","description":""},"ExecutionWorkflow.InterruptWorkflowExecutionCommand.jsonld-execution.workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"ExecutionWorkflow.InterruptWorkflowExecutionCommandInput":{"type":"object","description":""},"ExecutionWorkflow.InterruptWorkflowExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"ExecutionWorkflow.ResumeWorkflowExecutionCommand-execution.workflow.read":{"type":"object","description":""},"ExecutionWorkflow.ResumeWorkflowExecutionCommand.jsonld-execution.workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"ExecutionWorkflow.ResumeWorkflowExecutionCommandInput":{"type":"object","description":""},"ExecutionWorkflow.ResumeWorkflowExecutionCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"ExecutionWorkflow.TerminateWorkflowExecutionCommand-execution.workflow.read":{"type":"object","description":""},"ExecutionWorkflow.TerminateWorkflowExecutionCommand.jsonld-execution.workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"ExecutionWorkflow.TerminateWorkflowExecutionCommandInput":{"type":"object","description":"","required":["reason"],"properties":{"reason":{"type":"string"}}},"ExecutionWorkflow.TerminateWorkflowExecutionCommandInput.jsonld":{"type":"object","description":"","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"}}},"ExecutionWorkflow.jsonld-execution.workflow.read":{"type":"object","description":"","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":{"minItems":1,"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflowJob-execution.workflow.job.read":{"type":"object","description":"","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-execution.workflow.job.read":{"type":"object","description":"","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","description":"","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionWorkflowJobAction.jsonld":{"type":"object","description":"","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"}}},"Job":{"type":"object","description":"","properties":{"pipeline":{"anyOf":[{"$ref":"#\/components\/schemas\/Pipeline"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/Action"}],"nullable":true},"code":{"type":"string"},"label":{"type":"string"}},"required":["code","label"]},"Job.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"anyOf":[{"$ref":"#\/components\/schemas\/Pipeline.jsonld"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/Action.jsonld"}],"nullable":true},"code":{"type":"string"},"label":{"type":"string"}},"required":["code","label"]},"Money":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"}}},"OnPremiseRequest-on-premise-request.read":{"type":"object","description":"","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","description":"","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","description":"","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","description":"","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"}}},"OpaqueInterface-secret.update":{"type":"object","description":""},"OpaqueInterface.jsonld-secret.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Option":{"type":"object","description":"","required":["offer","sku","name","slug","shortDescription","description","features"],"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"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/BuyablePrice"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"Option.jsonld":{"type":"object","description":"","required":["offer","sku","name","slug","shortDescription","description","features"],"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"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/BuyablePrice.jsonld"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"Organization-add_collaborators":{"type":"object","description":""},"Organization-organization.read":{"type":"object","description":"","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"},"stripeCode":{"type":"string","nullable":true},"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"}},"activeUntil":{"type":"string","format":"date-time","nullable":true}},"required":["name"]},"Organization-organization.write":{"type":"object","description":"","required":["name"],"properties":{"name":{"type":"string"},"stripeCode":{"type":"string","nullable":true}}},"Organization.jsonld-add_collaborators":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Organization.jsonld-organization.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"stripeCode":{"type":"string","nullable":true},"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"}},"activeUntil":{"type":"string","format":"date-time","nullable":true}},"required":["name"]},"Organization.jsonld-organization.write":{"type":"object","description":"","required":["name"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"stripeCode":{"type":"string","nullable":true}}},"Pipeline":{"type":"object","description":"","required":["steps","code"],"properties":{"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/Step"}},"code":{"type":"string"}}},"Pipeline-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"currentVersion":{"type":"integer"},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"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"}},"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["repositories","auths","code","label"]},"Pipeline.AddAfterPipelineStepCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AddAfterPipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.AddAfterPipelineStepCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddBeforePipelineStepCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AddBeforePipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.AddBeforePipelineStepCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineComposerAuthCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AddPipelineComposerAuthCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.AddPipelineComposerAuthCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineComposerPSR4AutoloadCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineComposerPackageCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AddPipelineComposerPackageCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.AddPipelineComposerPackageCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineComposerRepositoryCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AddPipelineComposerRepositoryCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.AddPipelineComposerRepositoryCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineStepProbeCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AddPipelineStepProbeCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.AddPipelineStepProbeCommandInput-pipeline.write":{"type":"object","description":""},"Pipeline.AddPipelineStepProbeCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.AppendPipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.AppendPipelineStepCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.CompilePipelineCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.CompilePipelineCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.CompilePipelineCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.DeclarePipelineCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.DeclarePipelineCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineScheduleImmediateCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.DeclarePipelineScheduleImmediateCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineScheduleImmediateCommandInput-pipeline.write":{"type":"object","description":""},"Pipeline.DeclarePipelineScheduleImmediateCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineScheduleOnceCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.DeclarePipelineScheduleOnceCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.DeclarePipelineScheduleOnceCommandInput-pipeline.write":{"type":"object","description":""},"Pipeline.DeclarePipelineScheduleOnceCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.MoveAfterPipelineStepCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.MoveAfterPipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.MoveAfterPipelineStepCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.MoveBeforePipelineStepCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.MoveBeforePipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.MoveBeforePipelineStepCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.RemovePipelineComposerAuthCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.RemovePipelineComposerAuthCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.RemovePipelineComposerAuthCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.RemovePipelineComposerPSR4AutoloadCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.RemovePipelineComposerPSR4AutoloadCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.RemovePipelineComposerPackageCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.RemovePipelineComposerPackageCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.RemovePipelineComposerPackageCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.RemovePipelineComposerRepositoryCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.RemovePipelineComposerRepositoryCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.RemovePipelineComposerRepositoryCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.RemovePipelineStepProbeCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.RemovePipelineStepProbeCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.ReorderPipelineStepsCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.ReorderPipelineStepsCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.ReplacePipelineStepCommand-pipeline.read_pipeline.subresource.read":{"type":"object","description":""},"Pipeline.ReplacePipelineStepCommand.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-pipeline.write":{"type":"object","description":""},"Pipeline.ReplacePipelineStepCommandInput.jsonld-pipeline.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.jsonld":{"type":"object","description":"","required":["steps","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"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/Step.jsonld"}},"code":{"type":"string"}}},"Pipeline.jsonld-pipeline.read_pipeline.subresource.read":{"type":"object","description":"","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}]},"currentVersion":{"type":"integer"},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"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"}},"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["repositories","auths","code","label"]},"PipelineStep-job.read":{"type":"object","description":"","required":["order","code","label","pipeline","configuration"],"properties":{"order":{"type":"integer"},"code":{"type":"string"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline-job.read"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}}},"PipelineStep-step.read":{"type":"object","description":"","required":["order","code","label","pipeline","configuration"],"properties":{"order":{"type":"integer"},"code":{"type":"string"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline-step.read"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}}},"PipelineStep.jsonld-job.read":{"type":"object","description":"","required":["order","code","label","pipeline","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"},"order":{"type":"integer"},"code":{"type":"string"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld-job.read"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}}},"PipelineStep.jsonld-step.read":{"type":"object","description":"","required":["order","code","label","pipeline","configuration"],"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}]},"order":{"type":"integer"},"code":{"type":"string"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld-step.read"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}}},"PipelineStepProbe-step.probe.read":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","label","step"]},"PipelineStepProbe.jsonld-step.probe.read":{"type":"object","description":"","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"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","label","step"]},"Price":{"type":"object","description":"","required":["amount"],"properties":{"amount":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Money"},"currency":{"type":"string","nullable":true}}},"Price.jsonld":{"type":"object","description":"","required":["amount"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Money.jsonld"},"currency":{"type":"string","nullable":true}}},"Probe":{"type":"object","description":"","required":["code","label"],"properties":{"code":{"type":"string"},"label":{"type":"string"}}},"Probe.jsonld":{"type":"object","description":"","required":["code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"}}},"ReferralCode-referral-code.read":{"type":"object","description":"","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","description":"","properties":{"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralCode.jsonld-referral-code.read":{"type":"object","description":"","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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","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":{"enum":["pending","approved","rejected"],"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"ReferralRequest.ReferralRequestInput":{"type":"object","description":"","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.ReferralRequestInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"enum":["pending","approved","rejected"],"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"Schedule":{"type":"object","description":""},"Schedule-schedule.read":{"type":"object","description":"","required":["id"],"properties":{"id":{"type":"string","format":"uuid"},"type":{"default":{"name":"Now","value":"now"},"example":{"name":"Now","value":"now"},"$ref":"#\/components\/schemas\/ScheduleType-schedule.read"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"crontab":{"type":"string","nullable":true},"recurrences":{"type":"integer","nullable":true},"currentVersion":{"type":"integer"},"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},"environment":{"type":"string","format":"iri-reference","nullable":true}}},"Schedule.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-schedule.read":{"type":"object","description":"","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"},"type":{"default":{"name":"Now","value":"now"},"example":{"name":"Now","value":"now"},"$ref":"#\/components\/schemas\/ScheduleType.jsonld-schedule.read"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"crontab":{"type":"string","nullable":true},"recurrences":{"type":"integer","nullable":true},"currentVersion":{"type":"integer"},"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},"environment":{"type":"string","format":"iri-reference","nullable":true}}},"ScheduleType-schedule.read":{"type":"object","description":""},"ScheduleType.jsonld-schedule.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-secret.read":{"type":"object","description":"","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}}}},"Secret-secret.update":{"type":"object","description":""},"Secret.ChangeSecretValueInput-secret.update":{"type":"object","description":"","properties":{"contents":{"type":"object","additionalProperties":{"$ref":"#\/components\/schemas\/OpaqueInterface-secret.update"}}}},"Secret.ChangeSecretValueInput.jsonld-secret.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"$ref":"#\/components\/schemas\/OpaqueInterface.jsonld-secret.update"}}}},"Secret.CreateSecretInput-secret.create":{"type":"object","description":"","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Secret.CreateSecretInput.jsonld-secret.create":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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.RemoveSecretValueInput-secret.update":{"type":"object","description":"","properties":{"contents":{"type":"array","items":{"type":"string"}}}},"Secret.RemoveSecretValueInput.jsonld-secret.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"array","items":{"type":"string"}}}},"Secret.jsonld-secret.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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}}}},"Secret.jsonld-secret.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"object","description":"","required":["configuration","code","label","probes"],"properties":{"configuration":{"type":"object","additionalProperties":{"type":"string"}},"code":{"type":"string"},"label":{"type":"string"},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Step.jsonld":{"type":"object","description":"","required":["configuration","code","label","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"object","additionalProperties":{"type":"string"}},"code":{"type":"string"},"label":{"type":"string"},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Subscription":{"type":"object","description":"","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":{"readOnly":true,"$ref":"#\/components\/schemas\/Price"},"periods":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["organization"]},"Subscription.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"readOnly":true,"$ref":"#\/components\/schemas\/Price.jsonld"},"periods":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["organization"]},"SubscriptionOffer-read":{"type":"object","description":"","required":["color","sku","name","slug","shortDescription","description","features"],"properties":{"color":{"$ref":"#\/components\/schemas\/Color-read"},"colorDepth":{"type":"integer"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/BuyablePrice-read"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOffer-write":{"type":"object","description":"","properties":{"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOffer.jsonld-read":{"type":"object","description":"","required":["color","sku","name","slug","shortDescription","description","features"],"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}]},"color":{"$ref":"#\/components\/schemas\/Color.jsonld-read"},"colorDepth":{"type":"integer"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"priceList":{"type":"array","items":{"$ref":"#\/components\/schemas\/BuyablePrice.jsonld-read"}},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOffer.jsonld-write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"rank":{"minimum":0,"exclusiveMinimum":true,"type":"integer"},"active":{"type":"boolean"},"activeFrom":{"type":"string","format":"date-time"},"activeUntil":{"type":"string","format":"date-time"}}},"SubscriptionOption":{"type":"object","description":"","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":{"readOnly":true,"$ref":"#\/components\/schemas\/Price"}},"required":["subscription","option"]},"SubscriptionOption.jsonld":{"type":"object","description":"","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":{"readOnly":true,"$ref":"#\/components\/schemas\/Price.jsonld"}},"required":["subscription","option"]},"SubscriptionType":{"type":"object","description":"","properties":{"name":{"readOnly":true,"type":"string"},"value":{"readOnly":true,"type":"string"}}},"SubscriptionType-read":{"type":"object","description":""},"SubscriptionType.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"readOnly":true,"type":"string"},"value":{"readOnly":true,"type":"string"}}},"SubscriptionType.jsonld-read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Template":{"type":"object","description":"","required":["code","label","description","organization"],"properties":{"code":{"writeOnly":true,"type":"string"},"label":{"writeOnly":true,"type":"string"},"description":{"writeOnly":true,"type":"string"},"organization":{"writeOnly":true,"type":"string","format":"iri-reference","nullable":true},"keywords":{"writeOnly":true,"type":"array","items":{"type":"string"}},"pictograms":{"writeOnly":true,"type":"array","items":{"type":"string"}},"template":{"writeOnly":true,"type":"array","items":{"type":"string"}}}},"Template-template.create":{"type":"object","description":"","required":["code","label","description"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"}},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"Template-template.list":{"type":"object","description":"","required":["code","label","description","organization"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"keywords":{"type":"array","items":{"type":"string"}},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"Template-template.update":{"type":"object","description":""},"Template-template.view":{"type":"object","description":"","required":["code","label","description","organization"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"keywords":{"type":"array","items":{"type":"string"}},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"Template.DeclareSatelliteTemplateInput":{"type":"object","description":"","properties":{"code":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"Template.DeclareSatelliteTemplateInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"description":{"type":"string"},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"Template.jsonld":{"type":"object","description":"","required":["code","label","description","organization"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"writeOnly":true,"type":"string"},"label":{"writeOnly":true,"type":"string"},"description":{"writeOnly":true,"type":"string"},"organization":{"writeOnly":true,"type":"string","format":"iri-reference","nullable":true},"keywords":{"writeOnly":true,"type":"array","items":{"type":"string"}},"pictograms":{"writeOnly":true,"type":"array","items":{"type":"string"}},"template":{"writeOnly":true,"type":"array","items":{"type":"string"}}}},"Template.jsonld-template.create":{"type":"object","description":"","required":["code","label","description"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"description":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"}},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"Template.jsonld-template.list":{"type":"object","description":"","required":["code","label","description","organization"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"keywords":{"type":"array","items":{"type":"string"}},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"Template.jsonld-template.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Template.jsonld-template.view":{"type":"object","description":"","required":["code","label","description","organization"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"keywords":{"type":"array","items":{"type":"string"}},"pictograms":{"type":"array","items":{"type":"string"}},"template":{"type":"array","items":{"type":"string"}}}},"User-user.read":{"type":"object","description":"","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"},"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"}}},"required":["firstName","lastName","username"]},"User-user.write":{"type":"object","description":"","required":["firstName","lastName","username"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"roles":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"organization":{"type":"string","format":"iri-reference"}}},"User.UserChangePasswordInput-user.write":{"type":"object","description":""},"User.jsonld-user.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"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"}}},"required":["firstName","lastName","username"]},"User.jsonld-user.write":{"type":"object","description":"","required":["firstName","lastName","username"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"roles":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"organization":{"type":"string","format":"iri-reference"}}},"UserAuthorization-authorization.read":{"type":"object","description":"","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":{"enum":["runtime.pipeline","runtime.schedule","runtime.execution","runtime.workflow","runtime.action","environment.environment","environment.secret","environment.configuration","environment.variable"],"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["resource","authorizations"]},"UserAuthorization-authorization.write":{"type":"object","description":"","properties":{"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":{"enum":["runtime.pipeline","runtime.schedule","runtime.execution","runtime.workflow","runtime.action","environment.environment","environment.secret","environment.configuration","environment.variable"],"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["resource","authorizations"]},"UserAuthorization.jsonld-authorization.read":{"type":"object","description":"","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":{"enum":["runtime.pipeline","runtime.schedule","runtime.execution","runtime.workflow","runtime.action","environment.environment","environment.secret","environment.configuration","environment.variable"],"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["resource","authorizations"]},"UserAuthorization.jsonld-authorization.write":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"enum":["runtime.pipeline","runtime.schedule","runtime.execution","runtime.workflow","runtime.action","environment.environment","environment.secret","environment.configuration","environment.variable"],"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["resource","authorizations"]},"Variable-variable.view_environment.view":{"type":"object","description":"","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"Variable.jsonld-variable.view_environment.view":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConfiguration-variable.update":{"type":"object","description":"","properties":{"configuration":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConfiguration-variable.view_environment.view":{"type":"object","description":"","properties":{"configuration":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConfiguration.jsonld-variable.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConfiguration.jsonld-variable.view_environment.view":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConfigurationInput-environment.update":{"type":"object","description":"","properties":{"name":{"type":"string"},"from":{"type":"string"}}},"VariableFromConfigurationInput.jsonld-environment.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-variable.update":{"type":"object","description":"","properties":{"value":{"type":"string"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConstant-variable.view_environment.view":{"type":"object","description":"","properties":{"value":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConstant.jsonld-variable.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConstant.jsonld-variable.view_environment.view":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"VariableFromConstantInput-environment.update":{"type":"object","description":"","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"VariableFromConstantInput.jsonld-environment.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-variable.update":{"type":"object","description":"","properties":{"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret-variable.view_environment.view":{"type":"object","description":"","properties":{"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"VariableFromSecret.jsonld-variable.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret.jsonld-variable.view_environment.view":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":{"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-variable.view_environment.view"}],"nullable":true},"name":{"type":"string"}}},"VariableFromSecretInput-environment.update":{"type":"object","description":"","properties":{"name":{"type":"string"},"from":{"type":"string"}}},"VariableFromSecretInput.jsonld-environment.update":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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-workflow.read":{"type":"object","description":"","required":["id","code","label","repositories","auths","owner","workspace","organization"],"properties":{"id":{"type":"string","format":"uuid"},"isSoftDeleted":{"type":"boolean"},"code":{"type":"string"},"label":{"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"}},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"},"currentVersion":{"type":"integer"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"templatePictograms":{"type":"array","items":{"type":"string"}}}},"Workflow.CompileWorkflowCommand-workflow.read":{"type":"object","description":""},"Workflow.CompileWorkflowCommand.jsonld-workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.CompileWorkflowCommandInput":{"type":"object","description":""},"Workflow.CompileWorkflowCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowCommand-workflow.read":{"type":"object","description":""},"Workflow.DeclareWorkflowCommand.jsonld-workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowCommandInput":{"type":"object","description":"","required":["jobs","composer","code","label"],"properties":{"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/Job"}},"composer":{"$ref":"#\/components\/schemas\/Composer"},"code":{"type":"string"},"label":{"type":"string"}}},"Workflow.DeclareWorkflowCommandInput.jsonld":{"type":"object","description":"","required":["jobs","composer","code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/Job.jsonld"}},"composer":{"$ref":"#\/components\/schemas\/Composer.jsonld"},"code":{"type":"string"},"label":{"type":"string"}}},"Workflow.DeclareWorkflowScheduleCrontabCommand-workflow.read":{"type":"object","description":""},"Workflow.DeclareWorkflowScheduleCrontabCommand.jsonld-workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowScheduleCrontabCommandInput":{"type":"object","description":"","properties":{"crontab":{"pattern":"^(.*((?:@(?:annually|yearly|monthly|weekly|daily|midnight|hourly))|(?:@every (?:\\d+(?:ns|us|\u00b5s|ms|s|m|h))+)|(?:(?:(?:(?:\\d+,)+\\d+|(?:\\d+(?:\/|-)\\d+)|\\d+|\\*) ?){5})).*)$","type":"string"},"environment":{"oneOf":[{"pattern":"^(.*((?:\/ (?:[\\pL\\pN\\-._~!$&'()*+,;=:@]|%%[0-9A-Fa-f]{2})* )*).*)$"}],"type":"string","nullable":true}}},"Workflow.DeclareWorkflowScheduleCrontabCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"crontab":{"pattern":"^(.*((?:@(?:annually|yearly|monthly|weekly|daily|midnight|hourly))|(?:@every (?:\\d+(?:ns|us|\u00b5s|ms|s|m|h))+)|(?:(?:(?:(?:\\d+,)+\\d+|(?:\\d+(?:\/|-)\\d+)|\\d+|\\*) ?){5})).*)$","type":"string"},"environment":{"oneOf":[{"pattern":"^(.*((?:\/ (?:[\\pL\\pN\\-._~!$&'()*+,;=:@]|%%[0-9A-Fa-f]{2})* )*).*)$"}],"type":"string","nullable":true}}},"Workflow.DeclareWorkflowScheduleImmediateCommand-workflow.read":{"type":"object","description":""},"Workflow.DeclareWorkflowScheduleImmediateCommand.jsonld-workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.DeclareWorkflowScheduleImmediateCommandInput":{"type":"object","description":"","properties":{"environment":{"oneOf":[{"pattern":"^(.*((?:\/ (?:[\\pL\\pN\\-._~!$&'()*+,;=:@]|%%[0-9A-Fa-f]{2})* )*).*)$"}],"type":"string","nullable":true}}},"Workflow.DeclareWorkflowScheduleImmediateCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"environment":{"oneOf":[{"pattern":"^(.*((?:\/ (?:[\\pL\\pN\\-._~!$&'()*+,;=:@]|%%[0-9A-Fa-f]{2})* )*).*)$"}],"type":"string","nullable":true}}},"Workflow.RemoveWorkflowCommand-workflow.read":{"type":"object","description":""},"Workflow.RemoveWorkflowCommand.jsonld-workflow.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.RemoveWorkflowCommandInput":{"type":"object","description":""},"Workflow.RemoveWorkflowCommandInput.jsonld":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Workflow.jsonld-workflow.read":{"type":"object","description":"","required":["id","code","label","repositories","auths","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"},"isSoftDeleted":{"type":"boolean"},"code":{"type":"string"},"label":{"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"}},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"},"currentVersion":{"type":"integer"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"templatePictograms":{"type":"array","items":{"type":"string"}}}},"WorkflowJob-job.read":{"type":"object","description":"","required":["workflow","code","order"],"properties":{"workflow":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"order":{"type":"integer"},"pipeline":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-job.read"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction-job.read"}],"nullable":true}}},"WorkflowJob.AddAfterWorkflowPipelineStepCommand-job.read":{"type":"object","description":""},"WorkflowJob.AddAfterWorkflowPipelineStepCommand.jsonld-job.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"WorkflowJob.AddAfterWorkflowPipelineStepCommandInput":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"WorkflowJob.AddAfterWorkflowPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"WorkflowJob.AddBeforeWorkflowPipelineStepCommand-job.read":{"type":"object","description":""},"WorkflowJob.AddBeforeWorkflowPipelineStepCommand.jsonld-job.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"WorkflowJob.AddBeforeWorkflowPipelineStepCommandInput":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"WorkflowJob.AddBeforeWorkflowPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"WorkflowJob.AppendWorkflowPipelineStepCommand-job.read":{"type":"object","description":""},"WorkflowJob.AppendWorkflowPipelineStepCommand.jsonld-job.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"WorkflowJob.AppendWorkflowPipelineStepCommandInput":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"WorkflowJob.AppendWorkflowPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"WorkflowJob.MoveAfterWorkflowPipelineStepCommand-job.read":{"type":"object","description":""},"WorkflowJob.MoveAfterWorkflowPipelineStepCommand.jsonld-job.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"WorkflowJob.MoveAfterWorkflowPipelineStepCommandInput":{"type":"object","description":"","required":["after","code"],"properties":{"after":{"type":"string"},"code":{"type":"string"}}},"WorkflowJob.MoveAfterWorkflowPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["after","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"},"after":{"type":"string"},"code":{"type":"string"}}},"WorkflowJob.MoveBeforeWorkflowPipelineStepCommand-job.read":{"type":"object","description":""},"WorkflowJob.MoveBeforeWorkflowPipelineStepCommand.jsonld-job.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"WorkflowJob.MoveBeforeWorkflowPipelineStepCommandInput":{"type":"object","description":"","required":["before","code"],"properties":{"before":{"type":"string"},"code":{"type":"string"}}},"WorkflowJob.MoveBeforeWorkflowPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["before","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"},"before":{"type":"string"},"code":{"type":"string"}}},"WorkflowJob.ReorderWorkflowPipelineStepsCommand-job.read":{"type":"object","description":""},"WorkflowJob.ReorderWorkflowPipelineStepsCommand.jsonld-job.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"WorkflowJob.ReorderWorkflowPipelineStepsCommandInput":{"type":"object","description":"","required":["codes"],"properties":{"codes":{"type":"array","items":{"type":"string"}}}},"WorkflowJob.ReorderWorkflowPipelineStepsCommandInput.jsonld":{"type":"object","description":"","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"}}}},"WorkflowJob.ReplaceWorkflowPipelineStepCommand-job.read":{"type":"object","description":""},"WorkflowJob.ReplaceWorkflowPipelineStepCommand.jsonld-job.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"WorkflowJob.ReplaceWorkflowPipelineStepCommandInput":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"WorkflowJob.ReplaceWorkflowPipelineStepCommandInput.jsonld":{"type":"object","description":"","required":["code","label","configuration","probes"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"WorkflowJob.jsonld-job.read":{"type":"object","description":"","required":["workflow","code","order"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"order":{"type":"integer"},"pipeline":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld-job.read"}],"nullable":true},"action":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-job.read"}],"nullable":true}}},"WorkflowJobAction-action.read":{"type":"object","description":"","required":["job","code","label","configuration"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}}},"WorkflowJobAction-job.read":{"type":"object","description":"","required":["job","code","label","configuration"],"properties":{"job":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJob-job.read"}],"nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}}},"WorkflowJobAction.jsonld-action.read":{"type":"object","description":"","required":["job","code","label","configuration"],"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":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}}},"WorkflowJobAction.jsonld-job.read":{"type":"object","description":"","required":["job","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"},"job":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-job.read"}],"nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}}}},"WorkflowJobPipeline-job.read":{"type":"object","description":"","required":["job","code","label"],"properties":{"job":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJob-job.read"}],"nullable":true},"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep-job.read"}}}},"WorkflowJobPipeline-pipeline.read":{"type":"object","description":"","required":["job","code","label"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld-job.read":{"type":"object","description":"","required":["job","code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-job.read"}],"nullable":true},"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld-job.read"}}}},"WorkflowJobPipeline.jsonld-pipeline.read":{"type":"object","description":"","required":["job","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}]},"job":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"label":{"type":"string"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Workspace-workspace.read":{"type":"object","description":"","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","organization"]},"Workspace-workspace.write":{"type":"object","description":"","required":["name","organization"],"properties":{"name":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true}}},"Workspace.jsonld-workspace.read":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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","organization"]},"Workspace.jsonld-workspace.write":{"type":"object","description":"","required":["name","organization"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"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"},"organization":{"type":"string","format":"iri-reference","nullable":true}}},"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"},"organization":{"type":"string","example":"00000000-0000-0000-0000-000000000000"},"workspace":{"type":"string","example":"00000000-0000-0000-0000-000000000000"}},"required":["username","password"]},"Token:update":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials:update":{"type":"object","properties":{"organization":{"type":"string","example":"b56594c3-4d59-4a4a-93b4-3f44b0d785b7"},"workspace":{"type":"string","example":"b56594c3-4d59-4a4a-93b4-3f44b0d785b7"}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"JWT":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"JWT":[]}],"tags":[]} \ No newline at end of file diff --git a/src/Authentication/ApiKeyAuthentication.php b/src/Authentication/ApiKeyAuthentication.php deleted file mode 100644 index fb29ca6b..00000000 --- a/src/Authentication/ApiKeyAuthentication.php +++ /dev/null @@ -1,33 +0,0 @@ -{'apiKey'} = $apiKey; - } - - public function authentication(\Psr\Http\Message\RequestInterface $request): \Psr\Http\Message\RequestInterface - { - $request = $request->withHeader('Authorization', $this->{'apiKey'}); - - return $request; - } - - public function getScope(): string - { - return 'apiKey'; - } -} diff --git a/src/Authentication/JWTAuthentication.php b/src/Authentication/JWTAuthentication.php new file mode 100644 index 00000000..7b22add6 --- /dev/null +++ b/src/Authentication/JWTAuthentication.php @@ -0,0 +1,27 @@ +{'apiKey'} = $apiKey; + } + + public function authentication(\Psr\Http\Message\RequestInterface $request): \Psr\Http\Message\RequestInterface + { + $request = $request->withHeader('Authorization', $this->{'apiKey'}); + + return $request; + } + + public function getScope(): string + { + return 'JWT'; + } +} diff --git a/src/Client.php b/src/Client.php index e88ed940..3e8a156c 100644 --- a/src/Client.php +++ b/src/Client.php @@ -2,47 +2,21 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api; -class Client extends \Gyroscops\Api\Runtime\Client\Client +class Client extends Runtime\Client\Client { - /** - * Replaces the Organization resource. - * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonldAddCollaborators|\Gyroscops\Api\Model\OrganizationAddCollaborators|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\PutExternalCollaboratorsOrganizationItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutExternalCollaboratorsOrganizationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutExternalCollaboratorsOrganizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function putExternalCollaboratorsOrganizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutExternalCollaboratorsOrganizationItem($id, $requestBody, $accept), $fetch); - } - /** * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PostForgotPasswordBadRequestException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostForgotPasswordBadRequestException + * @throws Exception\UnexpectedStatusCodeException */ public function postForgotPassword(?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostForgotPassword($requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\PostForgotPassword($requestBody), $fetch); } /** @@ -50,12 +24,12 @@ public function postForgotPassword(?\stdClass $requestBody = null, string $fetch * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetForgotPasswordNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getForgotPassword(string $token, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetForgotPassword($token), $fetch); + return $this->executeEndpoint(new Endpoint\GetForgotPassword($token), $fetch); } /** @@ -63,28 +37,34 @@ public function getForgotPassword(string $token, string $fetch = self::FETCH_OBJ * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenBadRequestException - * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostForgotPasswordTokenBadRequestException + * @throws Exception\PostForgotPasswordTokenNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function postForgotPasswordToken(string $token, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostForgotPasswordToken($token, $requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\PostForgotPasswordToken($token, $requestBody), $fetch); } /** * Get the current user. * + * @param array $queryParameters { + * + * @var string $organization + * @var array $organization[] + * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationMeGetLdjsonResponse200|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationMeGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function meUserCollection(string $fetch = self::FETCH_OBJECT, array $accept = []) + public function meUserCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MeUserCollection($accept), $fetch); + return $this->executeEndpoint(new Endpoint\MeUserCollection($queryParameters, $accept), $fetch); } /** @@ -93,19 +73,19 @@ public function meUserCollection(string $fetch = self::FETCH_OBJECT, array $acce * @param string $id SubscriptionOffer identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationOffersIdOptionsGetLdjsonResponse200|\Gyroscops\Api\Model\Option[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationOffersIdOptionsGetLdjsonResponse200|\Gyroscops\Api\Model\Option[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -113,37 +93,37 @@ public function apiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubre * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsGetLdjsonResponse200|\Gyroscops\Api\Model\Organization[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationOrganizationsGetLdjsonResponse200|\Gyroscops\Api\Model\OrganizationOrganizationRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getOrganizationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOrganizationCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetOrganizationCollection($queryParameters, $accept), $fetch); } /** * Creates a Organization resource. * - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\OrganizationJsonldOrganizationWrite|Model\OrganizationOrganizationWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostOrganizationCollectionBadRequestException + * @throws Exception\PostOrganizationCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postOrganizationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOrganizationCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostOrganizationCollection($requestBody, $accept), $fetch); } /** @@ -154,12 +134,12 @@ public function postOrganizationCollection($requestBody = null, string $fetch = * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteOrganizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteOrganizationItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteOrganizationItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteOrganizationItem($id), $fetch); } /** @@ -169,54 +149,53 @@ public function deleteOrganizationItem(string $id, string $fetch = self::FETCH_O * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetOrganizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getOrganizationItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOrganizationItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetOrganizationItem($id, $accept), $fetch); } /** * 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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PatchOrganizationItemBadRequestException - * @throws \Gyroscops\Api\Exception\PatchOrganizationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PatchOrganizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PatchOrganizationItemBadRequestException + * @throws Exception\PatchOrganizationItemUnprocessableEntityException + * @throws Exception\PatchOrganizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function patchOrganizationItem(string $id, ?Model\Organization $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function patchOrganizationItem(string $id, ?Model\OrganizationOrganizationWrite $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchOrganizationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PatchOrganizationItem($id, $requestBody, $accept), $fetch); } /** * Replaces the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\OrganizationJsonldOrganizationWrite|Model\OrganizationOrganizationWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PutOrganizationItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutOrganizationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutOrganizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PutOrganizationItemBadRequestException + * @throws Exception\PutOrganizationItemUnprocessableEntityException + * @throws Exception\PutOrganizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function putOrganizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutOrganizationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PutOrganizationItem($id, $requestBody, $accept), $fetch); } /** @@ -225,19 +204,19 @@ public function putOrganizationItem(string $id, $requestBody = null, string $fet * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -246,19 +225,41 @@ public function apiOrganizationsAuthorizationsGetSubresourceOrganizationSubresou * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); + } + + /** + * Replaces the Organization resource. + * + * @param string $id Resource identifier + * @param Model\OrganizationJsonldAddCollaborators|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\PutExternalCollaboratorsOrganizationItemBadRequestException + * @throws Exception\PutExternalCollaboratorsOrganizationItemUnprocessableEntityException + * @throws Exception\PutExternalCollaboratorsOrganizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function putExternalCollaboratorsOrganizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\PutExternalCollaboratorsOrganizationItem($id, $requestBody, $accept), $fetch); } /** @@ -267,19 +268,21 @@ public function apiOrganizationsExternalCollaboratorsGetSubresourceOrganizationS * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationOrganizationsIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiOrganizationsUsersGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsUsersGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiOrganizationsUsersGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -288,19 +291,21 @@ public function apiOrganizationsUsersGetSubresourceOrganizationSubresource(strin * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkspaceWorkspaceRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiOrganizationsWorkspacesGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -308,19 +313,19 @@ public function apiOrganizationsWorkspacesGetSubresourceOrganizationSubresource( * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationSubscriptionOffersGetLdjsonResponse200|\Gyroscops\Api\Model\SubscriptionOfferRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationSubscriptionOffersGetLdjsonResponse200|\Gyroscops\Api\Model\SubscriptionOfferRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getSubscriptionOfferCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionOfferCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetSubscriptionOfferCollection($queryParameters, $accept), $fetch); } /** @@ -331,12 +336,12 @@ public function getSubscriptionOfferCollection(array $queryParameters = [], stri * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteSubscriptionOfferItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteSubscriptionOfferItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteSubscriptionOfferItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteSubscriptionOfferItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteSubscriptionOfferItem($id), $fetch); } /** @@ -346,54 +351,53 @@ public function deleteSubscriptionOfferItem(string $id, string $fetch = self::FE * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionOfferJsonldRead|Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetSubscriptionOfferItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetSubscriptionOfferItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getSubscriptionOfferItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionOfferItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetSubscriptionOfferItem($id, $accept), $fetch); } /** * Updates the SubscriptionOffer resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SubscriptionOfferWrite|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionOfferJsonldRead|Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PatchSubscriptionOfferItemBadRequestException - * @throws \Gyroscops\Api\Exception\PatchSubscriptionOfferItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PatchSubscriptionOfferItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PatchSubscriptionOfferItemBadRequestException + * @throws Exception\PatchSubscriptionOfferItemUnprocessableEntityException + * @throws Exception\PatchSubscriptionOfferItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function patchSubscriptionOfferItem(string $id, ?Model\SubscriptionOfferWrite $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchSubscriptionOfferItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PatchSubscriptionOfferItem($id, $requestBody, $accept), $fetch); } /** * Replaces the SubscriptionOffer resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SubscriptionOfferJsonldWrite|\Gyroscops\Api\Model\SubscriptionOfferWrite|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\SubscriptionOfferJsonldWrite|Model\SubscriptionOfferWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionOfferJsonldRead|Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PutSubscriptionOfferItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutSubscriptionOfferItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutSubscriptionOfferItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PutSubscriptionOfferItemBadRequestException + * @throws Exception\PutSubscriptionOfferItemUnprocessableEntityException + * @throws Exception\PutSubscriptionOfferItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function putSubscriptionOfferItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutSubscriptionOfferItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PutSubscriptionOfferItem($id, $requestBody, $accept), $fetch); } /** @@ -401,37 +405,37 @@ public function putSubscriptionOfferItem(string $id, $requestBody = null, string * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationSubscriptionsGetLdjsonResponse200|\Gyroscops\Api\Model\Subscription[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationSubscriptionsGetLdjsonResponse200|\Gyroscops\Api\Model\Subscription[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getSubscriptionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetSubscriptionCollection($queryParameters, $accept), $fetch); } /** * Creates a Subscription resource. * - * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\SubscriptionJsonld|Model\Subscription|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionJsonld|Model\Subscription|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostSubscriptionCollectionBadRequestException + * @throws Exception\PostSubscriptionCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postSubscriptionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSubscriptionCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostSubscriptionCollection($requestBody, $accept), $fetch); } /** @@ -442,12 +446,12 @@ public function postSubscriptionCollection($requestBody = null, string $fetch = * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteSubscriptionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteSubscriptionItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteSubscriptionItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteSubscriptionItem($id), $fetch); } /** @@ -457,54 +461,53 @@ public function deleteSubscriptionItem(string $id, string $fetch = self::FETCH_O * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionJsonld|Model\Subscription|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetSubscriptionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getSubscriptionItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetSubscriptionItem($id, $accept), $fetch); } /** * Updates the Subscription resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Subscription|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionJsonld|Model\Subscription|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException - * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PatchSubscriptionItemBadRequestException + * @throws Exception\PatchSubscriptionItemUnprocessableEntityException + * @throws Exception\PatchSubscriptionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function patchSubscriptionItem(string $id, ?Model\Subscription $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchSubscriptionItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PatchSubscriptionItem($id, $requestBody, $accept), $fetch); } /** * Replaces the Subscription resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\SubscriptionJsonld|Model\Subscription|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionJsonld|Model\Subscription|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutSubscriptionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PutSubscriptionItemBadRequestException + * @throws Exception\PutSubscriptionItemUnprocessableEntityException + * @throws Exception\PutSubscriptionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function putSubscriptionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutSubscriptionItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PutSubscriptionItem($id, $requestBody, $accept), $fetch); } /** @@ -514,13 +517,13 @@ public function putSubscriptionItem(string $id, $requestBody = null, string $fet * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface + * @return Model\SubscriptionOfferJsonldRead|Model\SubscriptionOfferRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiSubscriptionsOfferGetSubresourceSubscriptionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource($id, $accept), $fetch); } /** @@ -529,19 +532,19 @@ public function apiSubscriptionsOfferGetSubresourceSubscriptionSubresource(strin * @param string $id Subscription identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200|\Gyroscops\Api\Model\SubscriptionOption[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200|\Gyroscops\Api\Model\SubscriptionOption[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiSubscriptionsOptionsGetSubresourceSubscriptionSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -551,26 +554,25 @@ public function apiSubscriptionsOptionsGetSubresourceSubscriptionSubresource(str * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource($id, $accept), $fetch); } /** - * @param \Gyroscops\Api\Model\Credentials|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\Token|\Psr\Http\Message\ResponseInterface + * @return Model\Token|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function postCredentialsItem(?Model\Credentials $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostCredentialsItem($requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\PostCredentialsItem($requestBody), $fetch); } /** @@ -578,11 +580,49 @@ public function postCredentialsItem(?Model\Credentials $requestBody = null, stri * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function putAuthenticationToken(?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutAuthenticationToken($requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\PutAuthenticationToken($requestBody), $fetch); + } + + /** + * Retrieves the collection of UserAuthorization resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\AuthenticationUserAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[]|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function getUserAuthorizationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\GetUserAuthorizationCollection($queryParameters, $accept), $fetch); + } + + /** + * Creates a UserAuthorization resource. + * + * @param Model\UserAuthorizationJsonldAuthorizationWrite|Model\UserAuthorizationAuthorizationWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\UserAuthorizationJsonldAuthorizationRead|Model\UserAuthorizationAuthorizationRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\PostUserAuthorizationCollectionBadRequestException + * @throws Exception\PostUserAuthorizationCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException + */ + public function postUserAuthorizationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\PostUserAuthorizationCollection($requestBody, $accept), $fetch); } /** @@ -593,12 +633,12 @@ public function putAuthenticationToken(?\stdClass $requestBody = null, string $f * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteUserAuthorizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteUserAuthorizationItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteUserAuthorizationItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteUserAuthorizationItem($id), $fetch); } /** @@ -608,92 +648,69 @@ public function deleteUserAuthorizationItem(string $id, string $fetch = self::FE * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return Model\UserAuthorizationJsonldAuthorizationRead|Model\UserAuthorizationAuthorizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetUserAuthorizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getUserAuthorizationItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserAuthorizationItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetUserAuthorizationItem($id, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return Model\UserAuthorizationJsonldAuthorizationRead|Model\UserAuthorizationAuthorizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemBadRequestException - * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PatchUserAuthorizationItemBadRequestException + * @throws Exception\PatchUserAuthorizationItemUnprocessableEntityException + * @throws Exception\PatchUserAuthorizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function patchUserAuthorizationItem(string $id, ?Model\UserAuthorization $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function patchUserAuthorizationItem(string $id, ?Model\UserAuthorizationAuthorizationWrite $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserAuthorizationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PatchUserAuthorizationItem($id, $requestBody, $accept), $fetch); } /** * Replaces the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\UserAuthorizationJsonldAuthorizationWrite|Model\UserAuthorizationAuthorizationWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return Model\UserAuthorizationJsonldAuthorizationRead|Model\UserAuthorizationAuthorizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PutUserAuthorizationItemBadRequestException + * @throws Exception\PutUserAuthorizationItemUnprocessableEntityException + * @throws Exception\PutUserAuthorizationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function putUserAuthorizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserAuthorizationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PutUserAuthorizationItem($id, $requestBody, $accept), $fetch); } /** - * Retrieves the collection of UserAuthorization resources. - * - * @param array $queryParameters { - * - * @var int $page The collection page number - * } + * Retrieves a UserAuthorization resource. * + * @param string $id UserAuthorization identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function getUserAuthorizationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserAuthorizationCollection($queryParameters, $accept), $fetch); - } - - /** - * Creates a UserAuthorization resource. - * - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function postUserAuthorizationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function apiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserAuthorizationCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource($id, $accept), $fetch); } /** @@ -701,37 +718,39 @@ public function postUserAuthorizationCollection($requestBody = null, string $fet * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationUsersGetLdjsonResponse200|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationUsersGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getUserCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetUserCollection($queryParameters, $accept), $fetch); } /** * Creates a User resource. * - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\UserJsonldUserWrite|Model\UserUserWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return Model\UserJsonldUserRead|Model\UserUserRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostUserCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostUserCollectionBadRequestException + * @throws Exception\PostUserCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postUserCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostUserCollection($requestBody, $accept), $fetch); } /** @@ -742,12 +761,12 @@ public function postUserCollection($requestBody = null, string $fetch = self::FE * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteUserItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteUserItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteUserItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteUserItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteUserItem($id), $fetch); } /** @@ -757,74 +776,185 @@ public function deleteUserItem(string $id, string $fetch = self::FETCH_OBJECT) * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return Model\UserJsonldUserRead|Model\UserUserRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetUserItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getUserItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetUserItem($id, $accept), $fetch); } /** * 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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return Model\UserJsonldUserRead|Model\UserUserRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PatchUserItemBadRequestException - * @throws \Gyroscops\Api\Exception\PatchUserItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PatchUserItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PatchUserItemBadRequestException + * @throws Exception\PatchUserItemUnprocessableEntityException + * @throws Exception\PatchUserItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function patchUserItem(string $id, ?Model\User $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function patchUserItem(string $id, ?Model\UserUserWrite $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PatchUserItem($id, $requestBody, $accept), $fetch); } /** * Replaces the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\UserJsonldUserWrite|Model\UserUserWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return Model\UserJsonldUserRead|Model\UserUserRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PutUserItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutUserItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutUserItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PutUserItemBadRequestException + * @throws Exception\PutUserItemUnprocessableEntityException + * @throws Exception\PutUserItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function putUserItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PutUserItem($id, $requestBody, $accept), $fetch); + } + + /** + * Retrieves a User resource. + * + * @param string $id User identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200|\Gyroscops\Api\Model\OrganizationOrganizationRead[]|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function apiUsersAdditionalOrganizationsGetSubresourceUserSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource($id, $queryParameters, $accept), $fetch); + } + + /** + * Retrieves a User resource. + * + * @param string $id User identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[]|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ApiUsersAuthorizationsGetSubresourceUserSubresource($id, $queryParameters, $accept), $fetch); } /** * 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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\UserJsonldUserRead|Model\UserUserRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\ChangePasswordUserItemBadRequestException + * @throws Exception\ChangePasswordUserItemUnprocessableEntityException + * @throws Exception\ChangePasswordUserItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function changePasswordUserItem(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ChangePasswordUserItem($id, $requestBody, $accept), $fetch); + } + + /** + * Retrieves a User resource. + * + * @param string $id User identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function apiUsersCurrentOrganizationGetSubresourceUserSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ApiUsersCurrentOrganizationGetSubresourceUserSubresource($id, $accept), $fetch); + } + + /** + * Retrieves a User resource. + * + * @param string $id User identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\WorkspaceJsonldWorkspaceRead|Model\WorkspaceWorkspaceRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function apiUsersCurrentWorkspaceGetSubresourceUserSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ApiUsersCurrentWorkspaceGetSubresourceUserSubresource($id, $accept), $fetch); + } + + /** + * Retrieves a User resource. + * + * @param string $id User identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function apiUsersOrganizationGetSubresourceUserSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ApiUsersOrganizationGetSubresourceUserSubresource($id, $accept), $fetch); + } + + /** + * Retrieves a User resource. + * + * @param string $id User identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationUsersIdWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkspaceWorkspaceRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemBadRequestException - * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function changePasswordUserItem(string $id, ?Model\UserUserChangePasswordInput $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function apiUsersWorkspacesGetSubresourceUserSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangePasswordUserItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiUsersWorkspacesGetSubresourceUserSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -832,37 +962,39 @@ public function changePasswordUserItem(string $id, ?Model\UserUserChangePassword * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkspaceWorkspaceRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getWorkspaceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkspaceCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkspaceCollection($queryParameters, $accept), $fetch); } /** * Creates a Workspace resource. * - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\WorkspaceJsonldWorkspaceWrite|Model\WorkspaceWorkspaceWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return Model\WorkspaceJsonldWorkspaceRead|Model\WorkspaceWorkspaceRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostWorkspaceCollectionBadRequestException + * @throws Exception\PostWorkspaceCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postWorkspaceCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostWorkspaceCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostWorkspaceCollection($requestBody, $accept), $fetch); } /** @@ -873,12 +1005,12 @@ public function postWorkspaceCollection($requestBody = null, string $fetch = sel * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteWorkspaceItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteWorkspaceItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteWorkspaceItem($id), $fetch); } /** @@ -888,54 +1020,53 @@ public function deleteWorkspaceItem(string $id, string $fetch = self::FETCH_OBJE * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return Model\WorkspaceJsonldWorkspaceRead|Model\WorkspaceWorkspaceRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetWorkspaceItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkspaceItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkspaceItem($id, $accept), $fetch); } /** * 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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return Model\WorkspaceJsonldWorkspaceRead|Model\WorkspaceWorkspaceRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemBadRequestException - * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PatchWorkspaceItemBadRequestException + * @throws Exception\PatchWorkspaceItemUnprocessableEntityException + * @throws Exception\PatchWorkspaceItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function patchWorkspaceItem(string $id, ?Model\Workspace $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function patchWorkspaceItem(string $id, ?Model\WorkspaceWorkspaceWrite $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchWorkspaceItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PatchWorkspaceItem($id, $requestBody, $accept), $fetch); } /** * Replaces the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\WorkspaceJsonldWorkspaceWrite|Model\WorkspaceWorkspaceWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return Model\WorkspaceJsonldWorkspaceRead|Model\WorkspaceWorkspaceRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PutWorkspaceItemBadRequestException + * @throws Exception\PutWorkspaceItemUnprocessableEntityException + * @throws Exception\PutWorkspaceItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function putWorkspaceItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutWorkspaceItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PutWorkspaceItem($id, $requestBody, $accept), $fetch); } /** @@ -944,19 +1075,35 @@ public function putWorkspaceItem(string $id, $requestBody = null, string $fetch * @param string $id Workspace identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource($id, $queryParameters, $accept), $fetch); + } + + /** + * Retrieves a Workspace resource. + * + * @param string $id Workspace identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function apiWorkspacesOrganizationGetSubresourceWorkspaceSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource($id, $accept), $fetch); } /** @@ -965,19 +1112,21 @@ public function apiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource(st * @param string $id Workspace identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AuthenticationWorkspacesIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return Model\AuthenticationWorkspacesIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiWorkspacesUsersGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesUsersGetSubresourceWorkspaceSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiWorkspacesUsersGetSubresourceWorkspaceSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -985,37 +1134,37 @@ public function apiWorkspacesUsersGetSubresourceWorkspaceSubresource(string $id, * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentConfigurationsGetLdjsonResponse200|\Gyroscops\Api\Model\Configuration[]|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentConfigurationsGetLdjsonResponse200|\Gyroscops\Api\Model\ConfigurationConfigurationView[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getConfigurationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigurationCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetConfigurationCollection($queryParameters, $accept), $fetch); } /** * Creates a Configuration resource. * - * @param \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld|\Gyroscops\Api\Model\ConfigurationCreateConfigurationInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\ConfigurationCreateConfigurationInputJsonldConfigurationCreate|Model\ConfigurationCreateConfigurationInputConfigurationCreate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface + * @return Model\ConfigurationJsonldConfigurationView|Model\ConfigurationConfigurationView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostConfigurationCollectionBadRequestException + * @throws Exception\PostConfigurationCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postConfigurationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostConfigurationCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostConfigurationCollection($requestBody, $accept), $fetch); } /** @@ -1026,12 +1175,12 @@ public function postConfigurationCollection($requestBody = null, string $fetch = * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteConfigurationItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteConfigurationItem($id), $fetch); } /** @@ -1041,74 +1190,74 @@ public function deleteConfigurationItem(string $id, string $fetch = self::FETCH_ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface + * @return Model\ConfigurationJsonldConfigurationView|Model\ConfigurationConfigurationView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigurationItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetConfigurationItem($id, $accept), $fetch); } /** * Replaces the Configuration resource. * * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\ConfigurationJsonldEdit|\Gyroscops\Api\Model\ConfigurationEdit|null $requestBody + * @param Model\ConfigurationJsonldConfigurationUpdate|Model\ConfigurationConfigurationUpdate|null $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface + * @return Model\ConfigurationJsonldConfigurationView|Model\ConfigurationConfigurationView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\EditConfigurationItemBadRequestException - * @throws \Gyroscops\Api\Exception\EditConfigurationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\EditConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\EditConfigurationItemBadRequestException + * @throws Exception\EditConfigurationItemUnprocessableEntityException + * @throws Exception\EditConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function editConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditConfigurationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\EditConfigurationItem($id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Configuration identifier + * @param Model\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate|Model\ConfigurationChangeConfigurationValueInputConfigurationUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface + * @return Model\ConfigurationJsonldConfigurationView|Model\ConfigurationConfigurationView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemBadRequestException - * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\ChangeValuesConfigurationItemBadRequestException + * @throws Exception\ChangeValuesConfigurationItemUnprocessableEntityException + * @throws Exception\ChangeValuesConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function changeValuesConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangeValuesConfigurationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ChangeValuesConfigurationItem($id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Configuration identifier + * @param Model\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate|Model\ConfigurationRemoveConfigurationValueInputConfigurationUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface + * @return Model\ConfigurationJsonldConfigurationView|Model\ConfigurationConfigurationView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemBadRequestException - * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RemoveValuesConfigurationItemBadRequestException + * @throws Exception\RemoveValuesConfigurationItemUnprocessableEntityException + * @throws Exception\RemoveValuesConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function removeValuesConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveValuesConfigurationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RemoveValuesConfigurationItem($id, $requestBody, $accept), $fetch); } /** @@ -1116,37 +1265,37 @@ public function removeValuesConfigurationItem(string $id, $requestBody = null, s * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentEnvironmentsGetLdjsonResponse200|\Gyroscops\Api\Model\EnvironmentRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentEnvironmentsGetLdjsonResponse200|\Gyroscops\Api\Model\EnvironmentEnvironmentView[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getEnvironmentCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetEnvironmentCollection($queryParameters, $accept), $fetch); } /** * Creates a Environment resource. * - * @param \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld|\Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate|Model\EnvironmentCreateEnvironmentInputEnvironmentCreate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentJsonldEnvironmentView|Model\EnvironmentEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostEnvironmentCollectionBadRequestException + * @throws Exception\PostEnvironmentCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postEnvironmentCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostEnvironmentCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostEnvironmentCollection($requestBody, $accept), $fetch); } /** @@ -1157,12 +1306,12 @@ public function postEnvironmentCollection($requestBody = null, string $fetch = s * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteEnvironmentItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteEnvironmentItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteEnvironmentItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteEnvironmentItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteEnvironmentItem($id), $fetch); } /** @@ -1172,117 +1321,96 @@ public function deleteEnvironmentItem(string $id, string $fetch = self::FETCH_OB * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentJsonldEnvironmentView|Model\EnvironmentEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetEnvironmentItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getEnvironmentItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetEnvironmentItem($id, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\EnvironmentJsonldEnvironmentUpdate|Model\EnvironmentEnvironmentUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentJsonldEnvironmentView|Model\EnvironmentEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\EditEnvironmentItemBadRequestException - * @throws \Gyroscops\Api\Exception\EditEnvironmentItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\EditEnvironmentItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\EditEnvironmentItemBadRequestException + * @throws Exception\EditEnvironmentItemUnprocessableEntityException + * @throws Exception\EditEnvironmentItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function editEnvironmentItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditEnvironmentItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\EditEnvironmentItem($id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $configuration Configuration identifier + * @param string $id Resource identifier + * @param Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate|Model\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentJsonldEnvironmentView|Model\EnvironmentEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddVariablesFromConfigurationEnvironmentItemBadRequestException + * @throws Exception\AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException + * @throws Exception\AddVariablesFromConfigurationEnvironmentItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addVariablesFromConfigurationEnvironmentItem(string $configuration, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddVariablesFromConfigurationEnvironmentItem($configuration, $id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddVariablesFromConfigurationEnvironmentItem($configuration, $id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate|Model\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentJsonldEnvironmentView|Model\EnvironmentEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddVariablesFromConstantEnvironmentItemBadRequestException + * @throws Exception\AddVariablesFromConstantEnvironmentItemUnprocessableEntityException + * @throws Exception\AddVariablesFromConstantEnvironmentItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addVariablesFromConstantEnvironmentItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddVariablesFromConstantEnvironmentItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddVariablesFromConstantEnvironmentItem($id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $secret Secret identifier + * @param string $id Resource identifier + * @param Model\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate|Model\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentJsonldEnvironmentView|Model\EnvironmentEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddVariablesFromSecretEnvironmentItemBadRequestException + * @throws Exception\AddVariablesFromSecretEnvironmentItemUnprocessableEntityException + * @throws Exception\AddVariablesFromSecretEnvironmentItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addVariablesFromSecretEnvironmentItem(string $secret, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddVariablesFromSecretEnvironmentItem($secret, $id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200|\Gyroscops\Api\Model\VariableRead[]|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function apiEnvironmentsVariablesGetSubresourceEnvironmentSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddVariablesFromSecretEnvironmentItem($secret, $id, $requestBody, $accept), $fetch); } /** @@ -1290,37 +1418,37 @@ public function apiEnvironmentsVariablesGetSubresourceEnvironmentSubresource(str * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\EnvironmentSecretsGetLdjsonResponse200|\Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentSecretsGetLdjsonResponse200|\Gyroscops\Api\Model\SecretSecretRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetSecretCollection($queryParameters, $accept), $fetch); } /** * Creates a Secret resource. * - * @param \Gyroscops\Api\Model\SecretCreateSecretInputJsonld|\Gyroscops\Api\Model\SecretCreateSecretInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\SecretCreateSecretInputJsonldSecretCreate|Model\SecretCreateSecretInputSecretCreate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return Model\SecretJsonldSecretRead|Model\SecretSecretRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostSecretCollectionBadRequestException + * @throws Exception\PostSecretCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postSecretCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSecretCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostSecretCollection($requestBody, $accept), $fetch); } /** @@ -1331,12 +1459,12 @@ public function postSecretCollection($requestBody = null, string $fetch = self:: * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteSecretItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteSecretItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteSecretItem($id), $fetch); } /** @@ -1346,74 +1474,74 @@ public function deleteSecretItem(string $id, string $fetch = self::FETCH_OBJECT) * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return Model\SecretJsonldSecretRead|Model\SecretSecretRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getSecretItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetSecretItem($id, $accept), $fetch); } /** * Replaces the Secret resource. * - * @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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\SecretJsonldSecretUpdate|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return Model\SecretJsonldSecretRead|Model\SecretSecretRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\EditSecretItemBadRequestException - * @throws \Gyroscops\Api\Exception\EditSecretItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\EditSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\EditSecretItemBadRequestException + * @throws Exception\EditSecretItemUnprocessableEntityException + * @throws Exception\EditSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function editSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditSecretItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\EditSecretItem($id, $requestBody, $accept), $fetch); } /** * Change the secret values values inside an existing secrets storage. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Secret identifier + * @param Model\SecretChangeSecretValueInputJsonldSecretUpdate|Model\SecretChangeSecretValueInputSecretUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return Model\SecretJsonldSecretRead|Model\SecretSecretRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemBadRequestException - * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\ChangeValuesSecretItemBadRequestException + * @throws Exception\ChangeValuesSecretItemUnprocessableEntityException + * @throws Exception\ChangeValuesSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function changeValuesSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangeValuesSecretItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ChangeValuesSecretItem($id, $requestBody, $accept), $fetch); } /** * Remove some secret values inside an existing secrets storage. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Secret identifier + * @param Model\SecretRemoveSecretValueInputJsonldSecretUpdate|Model\SecretRemoveSecretValueInputSecretUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return Model\SecretJsonldSecretRead|Model\SecretSecretRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemBadRequestException - * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RemoveValuesSecretItemBadRequestException + * @throws Exception\RemoveValuesSecretItemUnprocessableEntityException + * @throws Exception\RemoveValuesSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function removeValuesSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveValuesSecretItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RemoveValuesSecretItem($id, $requestBody, $accept), $fetch); } /** @@ -1424,12 +1552,12 @@ public function removeValuesSecretItem(string $id, $requestBody = null, string $ * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteVariableFromConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteVariableFromConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deleteVariableFromConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteVariableFromConfigurationItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteVariableFromConfigurationItem($id), $fetch); } /** @@ -1439,72 +1567,178 @@ public function deleteVariableFromConfigurationItem(string $id, string $fetch = * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead|\Gyroscops\Api\Model\VariableFromConfigurationRead|\Psr\Http\Message\ResponseInterface + * @return Model\VariableFromConfigurationJsonldVariableViewEnvironmentView|Model\VariableFromConfigurationVariableViewEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetVariableFromConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetVariableFromConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getVariableFromConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigurationItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetVariableFromConfigurationItem($id, $accept), $fetch); } /** * Replaces the VariableFromConfiguration resource. * - * @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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\VariableFromConfigurationJsonldVariableUpdate|Model\VariableFromConfigurationVariableUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead|\Gyroscops\Api\Model\VariableFromConfigurationRead|\Psr\Http\Message\ResponseInterface + * @return Model\VariableFromConfigurationJsonldVariableViewEnvironmentView|Model\VariableFromConfigurationVariableViewEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemBadRequestException - * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\EditVariableFromConfigurationItemBadRequestException + * @throws Exception\EditVariableFromConfigurationItemUnprocessableEntityException + * @throws Exception\EditVariableFromConfigurationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function editVariableFromConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditVariableFromConfigurationItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\EditVariableFromConfigurationItem($id, $requestBody, $accept), $fetch); } /** - * Creates a AkeneoInstance resource. + * Removes the VariableFromConstant resource. * - * @param \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld|\Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\AkeneoInstanceJsonld|\Gyroscops\Api\Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteVariableFromConstantItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function postAkeneoInstanceCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function deleteVariableFromConstantItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoInstanceCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteVariableFromConstantItem($id), $fetch); } /** - * Retrieves the collection of AkeneoInstance resources. + * Retrieves a VariableFromConstant resource. * - * @param array $queryParameters { + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\VariableFromConstantJsonldVariableViewEnvironmentView|Model\VariableFromConstantVariableViewEnvironmentView|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\GetVariableFromConstantItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function getVariableFromConstantItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\GetVariableFromConstantItem($id, $accept), $fetch); + } + + /** + * Replaces the VariableFromConstant resource. + * + * @param string $id Resource identifier + * @param Model\VariableFromConstantJsonldVariableUpdate|Model\VariableFromConstantVariableUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\VariableFromConstantJsonldVariableViewEnvironmentView|Model\VariableFromConstantVariableViewEnvironmentView|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\EditVariableFromConstantItemBadRequestException + * @throws Exception\EditVariableFromConstantItemUnprocessableEntityException + * @throws Exception\EditVariableFromConstantItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function editVariableFromConstantItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\EditVariableFromConstantItem($id, $requestBody, $accept), $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 Exception\DeleteVariableFromSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function deleteVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new 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) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\VariableFromSecretJsonldVariableViewEnvironmentView|Model\VariableFromSecretVariableViewEnvironmentView|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\GetVariableFromSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function getVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\GetVariableFromSecretItem($id, $accept), $fetch); + } + + /** + * Replaces the VariableFromSecret resource. + * + * @param string $id Resource identifier + * @param Model\VariableFromSecretJsonldVariableUpdate|Model\VariableFromSecretVariableUpdate|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\VariableFromSecretJsonldVariableViewEnvironmentView|Model\VariableFromSecretVariableViewEnvironmentView|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\EditVariableFromSecretItemBadRequestException + * @throws Exception\EditVariableFromSecretItemUnprocessableEntityException + * @throws Exception\EditVariableFromSecretItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function editVariableFromSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\EditVariableFromSecretItem($id, $requestBody, $accept), $fetch); + } + + /** + * Creates a AkeneoInstance resource. + * + * @param Model\AkeneoInstanceAkeneoInstanceInputJsonld|Model\AkeneoInstanceAkeneoInstanceInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\AkeneoInstanceJsonld|Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\PostAkeneoInstanceCollectionBadRequestException + * @throws Exception\PostAkeneoInstanceCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException + */ + public function postAkeneoInstanceCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\PostAkeneoInstanceCollection($requestBody, $accept), $fetch); + } + + /** + * Retrieves the collection of AkeneoInstance resources. + * + * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\GatewayAkeneoInstancesGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface + * @return Model\GatewayAkeneoInstancesGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoInstanceCollection($queryParameters, $accept), $fetch); } /** @@ -1512,20 +1746,20 @@ public function getAkeneoInstanceCollection(array $queryParameters = [], string * * @param array $queryParameters { * - * @var string $url - * @var int $page The collection page number - * } + * @var string $url + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface + * @return Model\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getAkeneoInstanceByPimUrlAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceByPimUrlAkeneoInstanceCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoInstanceByPimUrlAkeneoInstanceCollection($queryParameters, $accept), $fetch); } /** @@ -1533,20 +1767,20 @@ public function getAkeneoInstanceByPimUrlAkeneoInstanceCollection(array $queryPa * * @param array $queryParameters { * - * @var string $url - * @var int $page The collection page number - * } + * @var string $url + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface + * @return Model\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getAkeneoInstanceOauthAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceOauthAkeneoInstanceCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoInstanceOauthAkeneoInstanceCollection($queryParameters, $accept), $fetch); } /** @@ -1556,107 +1790,107 @@ public function getAkeneoInstanceOauthAkeneoInstanceCollection(array $queryParam * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AkeneoInstanceJsonld|\Gyroscops\Api\Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface + * @return Model\AkeneoInstanceJsonld|Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetAkeneoInstanceItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getAkeneoInstanceItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoInstanceItem($id, $accept), $fetch); } /** - * Creates a AkeneoLinkedAccount resource. + * Retrieves a AkeneoLinkedAccount resource. * - * @param \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface + * @return Model\AkeneoLinkedAccountJsonld|Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetAkeneoLinkedAccountItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function postAkeneoLinkedAccountCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getAkeneoLinkedAccountItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoLinkedAccountCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoLinkedAccountItem($id, $accept), $fetch); } /** - * Check if an akeneo user exists in the database. + * Retrieves the collection of AkeneoLinkedAccount resources. * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface + * @return Model\GatewayAkeneoLinkedAccountsGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function getAkeneoLinkedAccountAkeneoLinkedAccountCollection(string $akeneoUserId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getAkeneoLinkedAccountCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountAkeneoLinkedAccountCollection($akeneoUserId, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoLinkedAccountCollection($queryParameters, $accept), $fetch); } /** - * Retrieves a AkeneoLinkedAccount resource. + * Creates a AkeneoLinkedAccount resource. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface + * @return Model\AkeneoLinkedAccountJsonld|Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostAkeneoLinkedAccountCollectionBadRequestException + * @throws Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ - public function getAkeneoLinkedAccountItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function postAkeneoLinkedAccountCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostAkeneoLinkedAccountCollection($requestBody, $accept), $fetch); } /** - * Retrieves the collection of AkeneoLinkedAccount resources. + * Check if an akeneo user exists in the database. * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface + * @return Model\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function getAkeneoLinkedAccountCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getAkeneoLinkedAccountAkeneoLinkedAccountCollection(string $akeneoUserId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoLinkedAccountAkeneoLinkedAccountCollection($akeneoUserId, $queryParameters, $accept), $fetch); } /** * Generate an Akeneo OAuth state. * - * @param \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld|\Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\AkeneoOauthTokenOauthStateInputJsonld|Model\AkeneoOauthTokenOauthStateInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateOutputJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\AkeneoOauthTokenOauthStateOutputJsonldRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostAkeneoOauthTokenCollectionBadRequestException + * @throws Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postAkeneoOauthTokenCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoOauthTokenCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostAkeneoOauthTokenCollection($requestBody, $accept), $fetch); } /** @@ -1666,14 +1900,14 @@ public function postAkeneoOauthTokenCollection($requestBody = null, string $fetc * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\AkeneoOauthTokenJsonldRead|\Gyroscops\Api\Model\AkeneoOauthTokenRead|\Psr\Http\Message\ResponseInterface + * @return Model\AkeneoOauthTokenJsonldRead|Model\AkeneoOauthTokenRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetAkeneoOauthTokenItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getAkeneoOauthTokenItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoOauthTokenItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoOauthTokenItem($id, $accept), $fetch); } /** @@ -1681,108 +1915,108 @@ public function getAkeneoOauthTokenItem(string $id, string $fetch = self::FETCH_ * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoOauthTokenRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\GatewayAkeneoOauthStatesGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoOauthTokenRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getAkeneoOauthTokenCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoOauthTokenCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetAkeneoOauthTokenCollection($queryParameters, $accept), $fetch); } /** * Generate an Akeneo OAuth token. * - * @param \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[]|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[]|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutLdjsonResponse200|\Psr\Http\Message\ResponseInterface|null + * @return Model\GatewayAkeneoOauthTokenPutLdjsonResponse200|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException + * @throws Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function putAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PutAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody, $accept), $fetch); } /** - * Removes the ReferralCode resource. + * Retrieves the collection of ReferralCode resources. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $queryParameters { * - * @return \Psr\Http\Message\ResponseInterface|null + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @throws \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @return Model\ReferralCodesGetLdjsonResponse200|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException */ - public function deleteReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT) + public function getReferralCodeCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteReferralCodeItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\GetReferralCodeCollection($queryParameters, $accept), $fetch); } /** - * Retrieves a ReferralCode resource. + * Creates a ReferralCode resource. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\ReferralCodeJsonldReferralCodeWrite|Model\ReferralCodeReferralCodeWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface + * @return Model\ReferralCodeJsonldReferralCodeRead|Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostReferralCodeCollectionBadRequestException + * @throws Exception\PostReferralCodeCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ - public function getReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function postReferralCodeCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralCodeItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostReferralCodeCollection($requestBody, $accept), $fetch); } /** - * Retrieves the collection of ReferralCode resources. - * - * @param array $queryParameters { - * - * @var int $page The collection page number - * } + * Removes the ReferralCode resource. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\ReferralCodesGetLdjsonResponse200|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeleteReferralCodeItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function getReferralCodeCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function deleteReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralCodeCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteReferralCodeItem($id), $fetch); } /** - * Creates a ReferralCode resource. + * Retrieves a ReferralCode resource. * - * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface + * @return Model\ReferralCodeJsonldReferralCodeRead|Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetReferralCodeItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function postReferralCodeCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralCodeCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetReferralCodeItem($id, $accept), $fetch); } /** @@ -1792,14 +2026,14 @@ public function postReferralCodeCollection($requestBody = null, string $fetch = * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface + * @return Model\OnPremiseRequestJsonldOnPremiseRequestRead|Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetOnPremiseRequestItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getOnPremiseRequestItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOnPremiseRequestItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetOnPremiseRequestItem($id, $accept), $fetch); } /** @@ -1807,37 +2041,55 @@ public function getOnPremiseRequestItem(string $id, string $fetch = self::FETCH_ * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetLdjsonResponse200|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\ReferralOnPremiseRequestsGetLdjsonResponse200|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getOnPremiseRequestCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOnPremiseRequestCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetOnPremiseRequestCollection($queryParameters, $accept), $fetch); } /** * Creates a OnPremiseRequest resource. * - * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\OnPremiseRequestJsonldOnPremiseRequestWrite|Model\OnPremiseRequestOnPremiseRequestWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface + * @return Model\OnPremiseRequestJsonldOnPremiseRequestRead|Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostOnPremiseRequestCollectionBadRequestException + * @throws Exception\PostOnPremiseRequestCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function postOnPremiseRequestCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOnPremiseRequestCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostOnPremiseRequestCollection($requestBody, $accept), $fetch); + } + + /** + * Creates a ReferralRequest resource. + * + * @param Model\ReferralRequestReferralRequestInputJsonld|Model\ReferralRequestReferralRequestInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\ReferralRequestJsonldReferralRequestRead|Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\PostReferralRequestCollectionBadRequestException + * @throws Exception\PostReferralRequestCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException + */ + public function postReferralRequestCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\PostReferralRequestCollection($requestBody, $accept), $fetch); } /** @@ -1847,14 +2099,14 @@ public function postOnPremiseRequestCollection($requestBody = null, string $fetc * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return Model\ReferralRequestJsonldReferralRequestRead|Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetReferralRequestItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getReferralRequestItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralRequestItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetReferralRequestItem($id, $accept), $fetch); } /** @@ -1865,16 +2117,16 @@ public function getReferralRequestItem(string $id, string $fetch = self::FETCH_O * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return Model\ReferralRequestJsonldReferralRequestRead|Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemBadRequestException - * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AcceptReferralRequestReferralRequestItemBadRequestException + * @throws Exception\AcceptReferralRequestReferralRequestItemUnprocessableEntityException + * @throws Exception\AcceptReferralRequestReferralRequestItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function acceptReferralRequestReferralRequestItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AcceptReferralRequestReferralRequestItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AcceptReferralRequestReferralRequestItem($id, $requestBody, $accept), $fetch); } /** @@ -1885,34 +2137,16 @@ public function acceptReferralRequestReferralRequestItem(string $id, $requestBod * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return Model\ReferralRequestJsonldReferralRequestRead|Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemBadRequestException - * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RejectReferralRequestReferralRequestItemBadRequestException + * @throws Exception\RejectReferralRequestReferralRequestItemUnprocessableEntityException + * @throws Exception\RejectReferralRequestReferralRequestItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function rejectReferralRequestReferralRequestItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RejectReferralRequestReferralRequestItem($id, $requestBody, $accept), $fetch); - } - - /** - * Creates a ReferralRequest resource. - * - * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function postReferralRequestCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralRequestCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RejectReferralRequestReferralRequestItem($id, $requestBody, $accept), $fetch); } /** @@ -1920,19 +2154,19 @@ public function postReferralRequestCollection($requestBody = null, string $fetch * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ReferralRequestsGetLdjsonResponse200|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\ReferralRequestsGetLdjsonResponse200|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getReferralRequestCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralRequestCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetReferralRequestCollection($queryParameters, $accept), $fetch); } /** @@ -1940,19 +2174,19 @@ public function getReferralRequestCollection(array $queryParameters = [], string * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeActionsGetLdjsonResponse200|\Gyroscops\Api\Model\ActionRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeActionsGetLdjsonResponse200|\Gyroscops\Api\Model\ActionActionRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getActionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetActionCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetActionCollection($queryParameters, $accept), $fetch); } /** @@ -1962,14 +2196,14 @@ public function getActionCollection(array $queryParameters = [], string $fetch = * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ActionJsonldRead|\Gyroscops\Api\Model\ActionRead|\Psr\Http\Message\ResponseInterface + * @return Model\ActionJsonldActionRead|Model\ActionActionRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetActionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getActionItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetActionItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetActionItem($id, $accept), $fetch); } /** @@ -1979,13 +2213,13 @@ public function getActionItem(string $id, string $fetch = self::FETCH_OBJECT, ar * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return Model\OrganizationJsonldOrganizationRead|Model\OrganizationOrganizationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiActionsOrganizationGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsOrganizationGetSubresourceActionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiActionsOrganizationGetSubresourceActionSubresource($id, $accept), $fetch); } /** @@ -1995,13 +2229,13 @@ public function apiActionsOrganizationGetSubresourceActionSubresource(string $id * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return Model\UserJsonldUserRead|Model\UserUserRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiActionsOwnerGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsOwnerGetSubresourceActionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiActionsOwnerGetSubresourceActionSubresource($id, $accept), $fetch); } /** @@ -2011,13 +2245,13 @@ public function apiActionsOwnerGetSubresourceActionSubresource(string $id, strin * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return Model\WorkspaceJsonldWorkspaceRead|Model\WorkspaceWorkspaceRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiActionsWorkspaceGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsWorkspaceGetSubresourceActionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiActionsWorkspaceGetSubresourceActionSubresource($id, $accept), $fetch); } /** @@ -2025,19 +2259,19 @@ public function apiActionsWorkspaceGetSubresourceActionSubresource(string $id, s * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\Compilation[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\CompilationCompilationRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getCompilationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetCompilationCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetCompilationCollection($queryParameters, $accept), $fetch); } /** @@ -2047,62 +2281,14 @@ public function getCompilationCollection(array $queryParameters = [], string $fe * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\CompilationJsonld|\Gyroscops\Api\Model\Compilation|\Psr\Http\Message\ResponseInterface + * @return Model\CompilationJsonldCompilationRead|Model\CompilationCompilationRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetCompilationItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetCompilationItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getCompilationItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetCompilationItem($id, $accept), $fetch); - } - - /** - * Retrieves a Compilation resource. - * - * @param string $id Compilation identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function apiCompilationsOrganizationGetSubresourceCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiCompilationsOrganizationGetSubresourceCompilationSubresource($id, $accept), $fetch); - } - - /** - * Retrieves a Compilation resource. - * - * @param string $id Compilation identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function apiCompilationsUserGetSubresourceCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiCompilationsUserGetSubresourceCompilationSubresource($id, $accept), $fetch); - } - - /** - * Retrieves a Compilation resource. - * - * @param string $id Compilation identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function apiCompilationsWorkspaceGetSubresourceCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiCompilationsWorkspaceGetSubresourceCompilationSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetCompilationItem($id, $accept), $fetch); } /** @@ -2110,19 +2296,19 @@ public function apiCompilationsWorkspaceGetSubresourceCompilationSubresource(str * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineJob[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionPipelineJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineJob[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionPipelineJobCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineJobCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionPipelineJobCollection($queryParameters, $accept), $fetch); } /** @@ -2131,19 +2317,19 @@ public function getExecutionPipelineJobCollection(array $queryParameters = [], s * @param string $id ExecutionPipelineJob identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -2151,37 +2337,39 @@ public function apiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobS * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $schedule + * @var array $schedule[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionExecutionRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionCollection($queryParameters, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|Model\ExecutionDeclarePipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeclareExecutionExecutionCollectionBadRequestException + * @throws Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function declareExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclareExecutionExecutionCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\DeclareExecutionExecutionCollection($requestBody, $accept), $fetch); } /** @@ -2191,14 +2379,14 @@ public function declareExecutionExecutionCollection($requestBody = null, string * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionActionJsonld|\Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionActionJsonldExecutionActionRead|Model\ExecutionActionExecutionActionRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionActionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionActionItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionActionItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionActionItem($id, $accept), $fetch); } /** @@ -2208,14 +2396,14 @@ public function getExecutionActionItem(string $id, string $fetch = self::FETCH_O * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineJsonldExecutionPipelineRead|Model\ExecutionPipelineExecutionPipelineRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionPipelineItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionPipelineItem($id, $accept), $fetch); } /** @@ -2225,14 +2413,14 @@ public function getExecutionPipelineItem(string $id, string $fetch = self::FETCH * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJsonldExecutionWorkflowRead|Model\ExecutionWorkflowExecutionWorkflowRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionWorkflowItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionWorkflowItem($id, $accept), $fetch); } /** @@ -2240,19 +2428,19 @@ public function getExecutionWorkflowItem(string $id, string $fetch = self::FETCH * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipeline[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineExecutionPipelineRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionPipelineCollection($queryParameters, $accept), $fetch); } /** @@ -2262,14 +2450,14 @@ public function getExecutionPipelineCollection(array $queryParameters = [], stri * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineStepJsonld|\Gyroscops\Api\Model\ExecutionPipelineStep|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineStepJsonldExecutionPipelineStepRead|Model\ExecutionPipelineStepExecutionPipelineStepRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionPipelineStepItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionPipelineStepItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineStepItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionPipelineStepItem($id, $accept), $fetch); } /** @@ -2279,14 +2467,14 @@ public function getExecutionPipelineStepItem(string $id, string $fetch = self::F * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineJobJsonld|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineJobJsonld|Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionPipelineJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionPipelineJobItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineJobItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionPipelineJobItem($id, $accept), $fetch); } /** @@ -2295,19 +2483,19 @@ public function getExecutionPipelineJobItem(string $id, string $fetch = self::FE * @param string $id ExecutionPipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -2318,14 +2506,14 @@ public function apiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubreso * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineJsonldExecutionPipelineRead|Model\ExecutionPipelineExecutionPipelineRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionLogsExecutionPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionLogsExecutionPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionLogsExecutionPipelineItem(string $stepCode, string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionLogsExecutionPipelineItem($stepCode, $id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionLogsExecutionPipelineItem($stepCode, $id, $accept), $fetch); } /** @@ -2336,14 +2524,14 @@ public function getExecutionLogsExecutionPipelineItem(string $stepCode, string $ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineJsonldExecutionPipelineRead|Model\ExecutionPipelineExecutionPipelineRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionRejectsExecutionPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionRejectsExecutionPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionRejectsExecutionPipelineItem(string $stepCode, string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionRejectsExecutionPipelineItem($stepCode, $id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionRejectsExecutionPipelineItem($stepCode, $id, $accept), $fetch); } /** @@ -2354,14 +2542,14 @@ public function getExecutionRejectsExecutionPipelineItem(string $stepCode, strin * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJsonldExecutionWorkflowRead|Model\ExecutionWorkflowExecutionWorkflowRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionActionLogsExecutionWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionActionLogsExecutionWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionActionLogsExecutionWorkflowItem(string $jobCode, string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionActionLogsExecutionWorkflowItem($jobCode, $id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionActionLogsExecutionWorkflowItem($jobCode, $id, $accept), $fetch); } /** @@ -2373,14 +2561,14 @@ public function getExecutionActionLogsExecutionWorkflowItem(string $jobCode, str * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJsonldExecutionWorkflowRead|Model\ExecutionWorkflowExecutionWorkflowRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionPipelineRejectsExecutionWorkflowItem(string $jobCode, string $stepCode, string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineRejectsExecutionWorkflowItem($jobCode, $stepCode, $id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionPipelineRejectsExecutionWorkflowItem($jobCode, $stepCode, $id, $accept), $fetch); } /** @@ -2388,19 +2576,19 @@ public function getExecutionPipelineRejectsExecutionWorkflowItem(string $jobCode * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflow[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionsWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowExecutionWorkflowRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionWorkflowCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionWorkflowCollection($queryParameters, $accept), $fetch); } /** @@ -2410,14 +2598,14 @@ public function getExecutionWorkflowCollection(array $queryParameters = [], stri * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJobActionJsonld|Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionWorkflowJobActionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionWorkflowJobActionItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobActionItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionWorkflowJobActionItem($id, $accept), $fetch); } /** @@ -2427,14 +2615,14 @@ public function getExecutionWorkflowJobActionItem(string $id, string $fetch = se * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJob|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead|Model\ExecutionWorkflowJobExecutionWorkflowJobRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionWorkflowJobItem($id, $accept), $fetch); } /** @@ -2442,19 +2630,19 @@ public function getExecutionWorkflowJobItem(string $id, string $fetch = self::FE * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJobExecutionWorkflowJobRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionWorkflowJobCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionWorkflowJobCollection($queryParameters, $accept), $fetch); } /** @@ -2464,13 +2652,13 @@ public function getExecutionWorkflowJobCollection(array $queryParameters = [], s * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJobActionJsonld|Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource($id, $accept), $fetch); } /** @@ -2480,13 +2668,13 @@ public function apiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJob * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineJobJsonld|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineJobJsonld|Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource($id, $accept), $fetch); } /** @@ -2496,19 +2684,19 @@ public function apiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJ * @param string $pipeline ExecutionPipelineJob identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource(string $id, string $pipeline, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource($id, $pipeline, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource($id, $pipeline, $queryParameters, $accept), $fetch); } /** @@ -2517,19 +2705,19 @@ public function apiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWork * @param string $id ExecutionWorkflow identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJobExecutionWorkflowJobRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -2540,13 +2728,13 @@ public function apiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresou * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJobActionJsonld|Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource(string $id, string $jobs, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource($id, $jobs, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource($id, $jobs, $accept), $fetch); } /** @@ -2557,13 +2745,13 @@ public function apiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSu * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineJobJsonld|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineJobJsonld|Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource(string $id, string $jobs, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource($id, $jobs, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource($id, $jobs, $accept), $fetch); } /** @@ -2573,14 +2761,14 @@ public function apiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflow * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionJsonldRead|\Gyroscops\Api\Model\ExecutionRead|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionJsonldExecutionRead|Model\ExecutionExecutionRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetExecutionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getExecutionItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetExecutionItem($id, $accept), $fetch); } /** @@ -2590,33 +2778,13 @@ public function getExecutionItem(string $id, string $fetch = self::FETCH_OBJECT, * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionActionJsonld|\Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionActionJsonldExecutionActionRead|Model\ExecutionActionExecutionActionRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionsActionGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsActionGetSubresourceExecutionSubresource($id, $accept), $fetch); - } - - /** - * Interrupts a workflow execution. - * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld|\stdClass|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld|\Gyroscops\Api\Model\ExecutionWorkflowInterruptWorkflowExecutionCommand|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionWorkflowItemBadRequestException - * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionWorkflowItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function interruptExecutionExecutionWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\InterruptExecutionExecutionWorkflowItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionsActionGetSubresourceExecutionSubresource($id, $accept), $fetch); } /** @@ -2626,29 +2794,33 @@ public function interruptExecutionExecutionWorkflowItem(string $id, $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return Model\EnvironmentJsonldEnvironmentView|Model\EnvironmentEnvironmentView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiExecutionsOrganizationGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function apiExecutionsEnvironmentGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsOrganizationGetSubresourceExecutionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionsEnvironmentGetSubresourceExecutionSubresource($id, $accept), $fetch); } /** - * Retrieves a Execution resource. + * Interrupts a workflow execution. * - * @param string $id Execution identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\InterruptExecutionExecutionWorkflowItemBadRequestException + * @throws Exception\InterruptExecutionExecutionWorkflowItemUnprocessableEntityException + * @throws Exception\InterruptExecutionExecutionWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiExecutionsOwnerGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function interruptExecutionExecutionWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsOwnerGetSubresourceExecutionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\InterruptExecutionExecutionWorkflowItem($id, $requestBody, $accept), $fetch); } /** @@ -2658,53 +2830,33 @@ public function apiExecutionsOwnerGetSubresourceExecutionSubresource(string $id, * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionPipelineJsonldExecutionPipelineRead|Model\ExecutionPipelineExecutionPipelineRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiExecutionsPipelineGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsPipelineGetSubresourceExecutionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionsPipelineGetSubresourceExecutionSubresource($id, $accept), $fetch); } /** * Resumes a workflow execution. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld|\stdClass|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowResumeWorkflowExecutionCommandJsonld|\Gyroscops\Api\Model\ExecutionWorkflowResumeWorkflowExecutionCommand|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionWorkflowItemBadRequestException - * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionWorkflowItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\ResumeExecutionExecutionWorkflowItemBadRequestException + * @throws Exception\ResumeExecutionExecutionWorkflowItemUnprocessableEntityException + * @throws Exception\ResumeExecutionExecutionWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function resumeExecutionExecutionWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ResumeExecutionExecutionWorkflowItem($id, $requestBody, $accept), $fetch); - } - - /** - * Terminates a workflow execution. - * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionWorkflowTerminateWorkflowExecutionCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld|\Gyroscops\Api\Model\ExecutionWorkflowTerminateWorkflowExecutionCommand|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionWorkflowItemBadRequestException - * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionWorkflowItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function terminateExecutionExecutionWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\TerminateExecutionExecutionWorkflowItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ResumeExecutionExecutionWorkflowItem($id, $requestBody, $accept), $fetch); } /** @@ -2714,35 +2866,33 @@ public function terminateExecutionExecutionWorkflowItem(string $id, $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return Model\ScheduleJsonldScheduleRead|Model\ScheduleScheduleRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiExecutionsWorkflowGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function apiExecutionsScheduleGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowGetSubresourceExecutionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionsScheduleGetSubresourceExecutionSubresource($id, $accept), $fetch); } /** - * Retrieves a Execution resource. - * - * @param string $id Execution identifier - * @param string $workflow ExecutionWorkflow identifier - * @param array $queryParameters { - * - * @var int $page The collection page number - * } + * Terminates a workflow execution. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld|Model\ExecutionWorkflowTerminateWorkflowExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\TerminateExecutionExecutionWorkflowItemBadRequestException + * @throws Exception\TerminateExecutionExecutionWorkflowItemUnprocessableEntityException + * @throws Exception\TerminateExecutionExecutionWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiExecutionsWorkflowJobsGetSubresourceExecutionSubresource(string $id, string $workflow, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function terminateExecutionExecutionWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource($id, $workflow, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\TerminateExecutionExecutionWorkflowItem($id, $requestBody, $accept), $fetch); } /** @@ -2752,13 +2902,13 @@ public function apiExecutionsWorkflowJobsGetSubresourceExecutionSubresource(stri * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return Model\ExecutionWorkflowJsonldExecutionWorkflowRead|Model\ExecutionWorkflowExecutionWorkflowRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiExecutionsWorkspaceGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function apiExecutionsWorkflowGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkspaceGetSubresourceExecutionSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiExecutionsWorkflowGetSubresourceExecutionSubresource($id, $accept), $fetch); } /** @@ -2766,19 +2916,19 @@ public function apiExecutionsWorkspaceGetSubresourceExecutionSubresource(string * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimePipelineStepProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimePipelineStepProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbeStepProbeRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getPipelineStepProbeCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepProbeCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetPipelineStepProbeCollection($queryParameters, $accept), $fetch); } /** @@ -2788,14 +2938,14 @@ public function getPipelineStepProbeCollection(array $queryParameters = [], stri * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineStepProbeJsonld|\Gyroscops\Api\Model\PipelineStepProbe|\Psr\Http\Message\ResponseInterface + * @return Model\PipelineStepProbeJsonldStepProbeRead|Model\PipelineStepProbeStepProbeRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetPipelineStepProbeItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getPipelineStepProbeItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepProbeItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetPipelineStepProbeItem($id, $accept), $fetch); } /** @@ -2803,19 +2953,19 @@ public function getPipelineStepProbeItem(string $id, string $fetch = self::FETCH * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimePipelineStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimePipelineStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepStepRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getPipelineStepCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetPipelineStepCollection($queryParameters, $accept), $fetch); } /** @@ -2825,14 +2975,14 @@ public function getPipelineStepCollection(array $queryParameters = [], string $f * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineStepJsonld|\Gyroscops\Api\Model\PipelineStep|\Psr\Http\Message\ResponseInterface + * @return Model\PipelineStepJsonldStepRead|Model\PipelineStepStepRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetPipelineStepItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getPipelineStepItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetPipelineStepItem($id, $accept), $fetch); } /** @@ -2840,39 +2990,39 @@ public function getPipelineStepItem(string $id, string $fetch = self::FETCH_OBJE * * @param array $queryParameters { * - * @var int $page The collection page number - * @var string $code - * @var array $code[] - * } + * @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) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimePipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimePipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelinePipelineReadPipelineSubresourceRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetPipelineCollection($queryParameters, $accept), $fetch); } /** * Declares 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\PipelineDeclarePipelineCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeclarePipelinePipelineCollectionBadRequestException + * @throws Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ public function declarePipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclarePipelinePipelineCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\DeclarePipelinePipelineCollection($requestBody, $accept), $fetch); } /** @@ -2881,19 +3031,19 @@ public function declarePipelinePipelineCollection($requestBody = null, string $f * @param string $id PipelineStep identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimePipelinesStepsIdProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimePipelinesStepsIdProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbeStepProbeRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiPipelineStepsProbesGetSubresourcePipelineStepSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -2904,12 +3054,12 @@ public function apiPipelineStepsProbesGetSubresourcePipelineStepSubresource(stri * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeletePipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deletePipelinePipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelinePipelineItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\DeletePipelinePipelineItem($id), $fetch); } /** @@ -2919,94 +3069,94 @@ public function deletePipelinePipelineItem(string $id, string $fetch = self::FET * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineJsonldRead|\Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface + * @return Model\PipelineJsonldPipelineReadPipelineSubresourceRead|Model\PipelinePipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getPipelineItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetPipelineItem($id, $accept), $fetch); } /** * Adds a composer auth to a pipeline. * - * @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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddComposerAuthPipelinePipelineItemBadRequestException + * @throws Exception\AddComposerAuthPipelinePipelineItemUnprocessableEntityException + * @throws Exception\AddComposerAuthPipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addComposerAuthPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerAuthPipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddComposerAuthPipelinePipelineItem($id, $requestBody, $accept), $fetch); } /** * Adds a composer package to a pipeline. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddComposerPackagePipelinePipelineItemBadRequestException + * @throws Exception\AddComposerPackagePipelinePipelineItemUnprocessableEntityException + * @throws Exception\AddComposerPackagePipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addComposerPackagePipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerPackagePipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddComposerPackagePipelinePipelineItem($id, $requestBody, $accept), $fetch); } /** * Adds a composer repository to a pipeline. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddComposerRepositoryPipelinePipelineItemBadRequestException + * @throws Exception\AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException + * @throws Exception\AddComposerRepositoryPipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addComposerRepositoryPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerRepositoryPipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddComposerRepositoryPipelinePipelineItem($id, $requestBody, $accept), $fetch); } /** * Adds PSR4 autoload composer to a pipeline. * - * @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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddComposerAutoloadPipelinePipelineItemBadRequestException + * @throws Exception\AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException + * @throws Exception\AddComposerAutoloadPipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addComposerAutoloadPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerAutoloadPipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddComposerAutoloadPipelinePipelineItem($id, $requestBody, $accept), $fetch); } /** @@ -3015,191 +3165,159 @@ public function addComposerAutoloadPipelinePipelineItem(string $id, $requestBody * @param string $id Pipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimePipelinesIdCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\Compilation[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimePipelinesIdCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\CompilationCompilationRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiPipelinesCompilationsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesCompilationsGetSubresourcePipelineSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiPipelinesCompilationsGetSubresourcePipelineSubresource($id, $queryParameters, $accept), $fetch); } /** * Launches a pipeline compilation. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\stdClass|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineCompilePipelineCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PipelineCompilationPipelineItemBadRequestException + * @throws Exception\PipelineCompilationPipelineItemUnprocessableEntityException + * @throws Exception\PipelineCompilationPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function pipelineCompilationPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineCompilationPipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PipelineCompilationPipelineItem($id, $requestBody, $accept), $fetch); } /** - * Retrieves a Pipeline resource. + * Removes a composer auth from a pipeline. * - * @param string $id Pipeline identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function apiPipelinesOrganizationGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOrganizationGetSubresourcePipelineSubresource($id, $accept), $fetch); - } - - /** - * Retrieves a Pipeline resource. - * - * @param string $id Pipeline identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function apiPipelinesOwnerGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOwnerGetSubresourcePipelineSubresource($id, $accept), $fetch); - } - - /** - * Removes a composer auth from a pipeline. - * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RemoveComposerAuthPipelinePipelineItemBadRequestException + * @throws Exception\RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException + * @throws Exception\RemoveComposerAuthPipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function removeComposerAuthPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerAuthPipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RemoveComposerAuthPipelinePipelineItem($id, $requestBody, $accept), $fetch); } /** * Removes a composer package from a pipeline. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RemoveComposerPackagePipelinePipelineItemBadRequestException + * @throws Exception\RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException + * @throws Exception\RemoveComposerPackagePipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function removeComposerPackagePipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerPackagePipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RemoveComposerPackagePipelinePipelineItem($id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RemoveComposerRepositoryPipelinePipelineItemBadRequestException + * @throws Exception\RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException + * @throws Exception\RemoveComposerRepositoryPipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function removeComposerRepositoryPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerRepositoryPipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RemoveComposerRepositoryPipelinePipelineItem($id, $requestBody, $accept), $fetch); } /** * Removes PSR4 autoload composer from a pipeline. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RemoveComposerAutoloadPipelinePipelineItemBadRequestException + * @throws Exception\RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException + * @throws Exception\RemoveComposerAutoloadPipelinePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function removeComposerAutoloadPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerAutoloadPipelinePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RemoveComposerAutoloadPipelinePipelineItem($id, $requestBody, $accept), $fetch); } /** * Schedule a pipeline for immediate execution. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PipelineScheduleImmediatePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\PipelineScheduleImmediatePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PipelineScheduleImmediatePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PipelineScheduleImmediatePipelineItemBadRequestException + * @throws Exception\PipelineScheduleImmediatePipelineItemUnprocessableEntityException + * @throws Exception\PipelineScheduleImmediatePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function pipelineScheduleImmediatePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineScheduleImmediatePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PipelineScheduleImmediatePipelineItem($id, $requestBody, $accept), $fetch); } /** * Schedule a pipeline to a specific date. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PipelineScheduleOncePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\PipelineScheduleOncePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PipelineScheduleOncePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PipelineScheduleOncePipelineItemBadRequestException + * @throws Exception\PipelineScheduleOncePipelineItemUnprocessableEntityException + * @throws Exception\PipelineScheduleOncePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function pipelineScheduleOncePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineScheduleOncePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PipelineScheduleOncePipelineItem($id, $requestBody, $accept), $fetch); } /** @@ -3208,19 +3326,21 @@ public function pipelineScheduleOncePipelineItem(string $id, $requestBody = null * @param string $id Pipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $pipeline + * @var array $pipeline[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimePipelinesIdSchedulesGetLdjsonResponse200|\Psr\Http\Message\ResponseInterface|null + * @return Model\RuntimePipelinesIdSchedulesGetLdjsonResponse200|\Gyroscops\Api\Model\ScheduleScheduleRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiPipelinesSchedulesGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesSchedulesGetSubresourcePipelineSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiPipelinesSchedulesGetSubresourcePipelineSubresource($id, $queryParameters, $accept), $fetch); } /** @@ -3229,59 +3349,59 @@ public function apiPipelinesSchedulesGetSubresourcePipelineSubresource(string $i * @param string $id Pipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimePipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimePipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepStepRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiPipelinesStepsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesStepsGetSubresourcePipelineSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiPipelinesStepsGetSubresourcePipelineSubresource($id, $queryParameters, $accept), $fetch); } /** * Appends a step to a pipeline. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAppendPipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AppendPipelineStepPipelineItemBadRequestException + * @throws Exception\AppendPipelineStepPipelineItemUnprocessableEntityException + * @throws Exception\AppendPipelineStepPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function appendPipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AppendPipelineStepPipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AppendPipelineStepPipelineItem($id, $requestBody, $accept), $fetch); } /** * 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 - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\ReorderPipelineStepsPipelineItemBadRequestException + * @throws Exception\ReorderPipelineStepsPipelineItemUnprocessableEntityException + * @throws Exception\ReorderPipelineStepsPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function reorderPipelineStepsPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReorderPipelineStepsPipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ReorderPipelineStepsPipelineItem($id, $requestBody, $accept), $fetch); } /** @@ -3293,112 +3413,132 @@ public function reorderPipelineStepsPipelineItem(string $id, $requestBody = null * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeletePipelineStepPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function deletePipelineStepPipelineItem(string $code, string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelineStepPipelineItem($code, $id), $fetch); + return $this->executeEndpoint(new Endpoint\DeletePipelineStepPipelineItem($code, $id), $fetch); + } + + /** + * Replaces a step by another one in a pipeline. + * + * @param string $id Resource identifier + * @param Model\PipelineReplacePipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws Exception\ReplacePipelineStepPipelineItemBadRequestException + * @throws Exception\ReplacePipelineStepPipelineItemUnprocessableEntityException + * @throws Exception\ReplacePipelineStepPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function replacePipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ReplacePipelineStepPipelineItem($id, $requestBody, $accept), $fetch); } /** * 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 - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddAfterPipelineStepPipelineItemBadRequestException + * @throws Exception\AddAfterPipelineStepPipelineItemUnprocessableEntityException + * @throws Exception\AddAfterPipelineStepPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addAfterPipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddAfterPipelineStepPipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddAfterPipelineStepPipelineItem($id, $requestBody, $accept), $fetch); } /** * 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 - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddBeforePipelineStepPipelineItemBadRequestException + * @throws Exception\AddBeforePipelineStepPipelineItemUnprocessableEntityException + * @throws Exception\AddBeforePipelineStepPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addBeforePipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddBeforePipelineStepPipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddBeforePipelineStepPipelineItem($id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\MoveAfterPipelineStepPipelineItemBadRequestException + * @throws Exception\MoveAfterPipelineStepPipelineItemUnprocessableEntityException + * @throws Exception\MoveAfterPipelineStepPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function moveAfterPipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveAfterPipelineStepPipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\MoveAfterPipelineStepPipelineItem($id, $requestBody, $accept), $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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\MoveBeforePipelineStepPipelineItemBadRequestException + * @throws Exception\MoveBeforePipelineStepPipelineItemUnprocessableEntityException + * @throws Exception\MoveBeforePipelineStepPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function moveBeforePipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveBeforePipelineStepPipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\MoveBeforePipelineStepPipelineItem($id, $requestBody, $accept), $fetch); } /** * Adds a probe to a step. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddPipelineStepProbePipelineItemBadRequestException + * @throws Exception\AddPipelineStepProbePipelineItemUnprocessableEntityException + * @throws Exception\AddPipelineStepProbePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function addPipelineStepProbePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddPipelineStepProbePipelineItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddPipelineStepProbePipelineItem($id, $requestBody, $accept), $fetch); } /** @@ -3411,48 +3551,12 @@ public function addPipelineStepProbePipelineItem(string $id, $requestBody = null * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\RemovePipelineStepProbePipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function removePipelineStepProbePipelineItem(string $code, string $probeCode, string $id, string $fetch = self::FETCH_OBJECT) { - 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) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null - * - * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemBadRequestException - * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function replacePipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReplacePipelineStepPipelineItem($id, $requestBody, $accept), $fetch); - } - - /** - * Retrieves a Pipeline resource. - * - * @param string $id Pipeline identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - public function apiPipelinesWorkspaceGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesWorkspaceGetSubresourcePipelineSubresource($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\RemovePipelineStepProbePipelineItem($code, $probeCode, $id), $fetch); } /** @@ -3460,19 +3564,21 @@ public function apiPipelinesWorkspaceGetSubresourcePipelineSubresource(string $i * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $pipeline + * @var array $pipeline[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeSchedulesGetLdjsonResponse200|\Psr\Http\Message\ResponseInterface|null + * @return Model\RuntimeSchedulesGetLdjsonResponse200|\Gyroscops\Api\Model\ScheduleScheduleRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function getScheduleCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetScheduleCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetScheduleCollection($queryParameters, $accept), $fetch); } /** @@ -3482,14 +3588,14 @@ public function getScheduleCollection(array $queryParameters = [], string $fetch * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\ScheduleJsonld|\Psr\Http\Message\ResponseInterface|null + * @return Model\ScheduleJsonldScheduleRead|Model\ScheduleScheduleRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetScheduleItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getScheduleItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetScheduleItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetScheduleItem($id, $accept), $fetch); } /** @@ -3498,111 +3604,178 @@ public function getScheduleItem(string $id, string $fetch = self::FETCH_OBJECT, * @param string $id Schedule identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $schedule + * @var array $schedule[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeSchedulesIdExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeSchedulesIdExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionExecutionRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ public function apiSchedulesExecutionsGetSubresourceScheduleSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesExecutionsGetSubresourceScheduleSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiSchedulesExecutionsGetSubresourceScheduleSubresource($id, $queryParameters, $accept), $fetch); } /** - * Retrieves the collection of Workflow resources. + * Retrieves the collection of Template resources. * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $code + * @var array $code[] + * @var string $label + * @var array $label[] + * @var string $description + * @var array $description[] + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeTemplatesGetLdjsonResponse200|\Gyroscops\Api\Model\TemplateTemplateList[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function getWorkflowCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getTemplateCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetTemplateCollection($queryParameters, $accept), $fetch); } /** - * Declares a workflow. + * Creates a Template resource. * - * @param \Gyroscops\Api\Model\WorkflowDeclareWorkflowCommandInputJsonld|\Gyroscops\Api\Model\WorkflowDeclareWorkflowCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param Model\TemplateDeclareSatelliteTemplateInputJsonld|Model\TemplateDeclareSatelliteTemplateInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\TemplateJsonldTemplateCreate|Model\TemplateTemplateCreate|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\DeclareWorkflowWorkflowCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\DeclareWorkflowWorkflowCollectionUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\PostTemplateCollectionBadRequestException + * @throws Exception\PostTemplateCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException */ - public function declareWorkflowWorkflowCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function postTemplateCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclareWorkflowWorkflowCollection($requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\PostTemplateCollection($requestBody, $accept), $fetch); } /** - * Retrieves a WorkflowJob resource. + * Removes the Template 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 Exception\DeleteTemplateItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function deleteTemplateItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new Endpoint\DeleteTemplateItem($id), $fetch); + } + + /** + * Retrieves a Template resource. * * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowJobJsonldRead|\Gyroscops\Api\Model\WorkflowJobRead|\Psr\Http\Message\ResponseInterface + * @return Model\TemplateJsonldTemplateView|Model\TemplateTemplateView|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetTemplateItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function getWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getTemplateItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetTemplateItem($id, $accept), $fetch); } /** - * Retrieves the collection of WorkflowJobPipeline resources. + * Replaces the Template resource. + * + * @param string $id Resource identifier + * @param Model\TemplateJsonld|Model\Template|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\TemplateJsonldTemplateUpdate|\Psr\Http\Message\ResponseInterface|null + * + * @throws Exception\PutTemplateItemBadRequestException + * @throws Exception\PutTemplateItemUnprocessableEntityException + * @throws Exception\PutTemplateItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function putTemplateItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\PutTemplateItem($id, $requestBody, $accept), $fetch); + } + + /** + * Retrieves the collection of Workflow resources. * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @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) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobPipeline[]|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowWorkflowRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function getWorkflowJobPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getWorkflowCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobPipelineCollection($queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkflowCollection($queryParameters, $accept), $fetch); } /** - * Retrieves a WorkflowJobPipeline resource. + * Declares a workflow. + * + * @param Model\WorkflowDeclareWorkflowCommandInputJsonld|Model\WorkflowDeclareWorkflowCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\WorkflowDeclareWorkflowCommandJsonldWorkflowRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws Exception\DeclareWorkflowWorkflowCollectionBadRequestException + * @throws Exception\DeclareWorkflowWorkflowCollectionUnprocessableEntityException + * @throws Exception\UnexpectedStatusCodeException + */ + public function declareWorkflowWorkflowCollection($requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\DeclareWorkflowWorkflowCollection($requestBody, $accept), $fetch); + } + + /** + * Retrieves the collection of WorkflowJobAction resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } * - * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowJobPipelineJsonld|\Gyroscops\Api\Model\WorkflowJobPipeline|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeWorkflowsActionsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobActionActionRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function getWorkflowJobPipelineItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getWorkflowJobActionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobPipelineItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkflowJobActionCollection($queryParameters, $accept), $fetch); } /** @@ -3612,301 +3785,403 @@ public function getWorkflowJobPipelineItem(string $id, string $fetch = self::FET * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowJobActionJsonld|\Gyroscops\Api\Model\WorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return Model\WorkflowJobActionJsonldActionRead|Model\WorkflowJobActionActionRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetWorkflowJobActionItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ public function getWorkflowJobActionItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobActionItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkflowJobActionItem($id, $accept), $fetch); } /** - * Retrieves a WorkflowJobPipeline resource. + * Deletes a job. * - * @param string $id WorkflowJobPipeline identifier - * @param array $queryParameters { + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @var int $page The collection page number - * } + * @throws Exception\DeleteJobWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function deleteJobWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new Endpoint\DeleteJobWorkflowJobItem($id), $fetch); + } + + /** + * Retrieves a WorkflowJob resource. * + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return Model\WorkflowJobJsonldJobRead|Model\WorkflowJobJobRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkflowJobItem($id, $accept), $fetch); } /** - * Retrieves a Workflow resource. + * Appends a step to a pipeline. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld|Model\WorkflowJobAppendWorkflowPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowJsonldRead|\Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface + * @return Model\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AppendPipelineStepWorkflowJobItemBadRequestException + * @throws Exception\AppendPipelineStepWorkflowJobItemUnprocessableEntityException + * @throws Exception\AppendPipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function getWorkflowItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function appendPipelineStepWorkflowJobItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AppendPipelineStepWorkflowJobItem($id, $requestBody, $accept), $fetch); } /** - * Retrieves a Workflow resource. + * Reorganizes the steps of a pipeline according to a given order. * - * @param string $id Workflow identifier - * @param array $queryParameters { + * @param string $id Resource identifier + * @param Model\WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld|Model\WorkflowJobReorderWorkflowPipelineStepsCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @var int $page The collection page number - * } + * @return Model\WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead|\Psr\Http\Message\ResponseInterface|null * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @throws Exception\ReorderPipelineStepsWorkflowJobItemBadRequestException + * @throws Exception\ReorderPipelineStepsWorkflowJobItemUnprocessableEntityException + * @throws Exception\ReorderPipelineStepsWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function reorderPipelineStepsWorkflowJobItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ReorderPipelineStepsWorkflowJobItem($id, $requestBody, $accept), $fetch); + } + + /** + * Removes a step from 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) * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\Compilation[]|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\DeletePipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiWorkflowsCompilationsGetSubresourceWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function deletePipelineStepWorkflowJobItem(string $code, string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\DeletePipelineStepWorkflowJobItem($code, $id), $fetch); } /** - * Launches a workflow compilation. + * Get a step from a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkflowCompileWorkflowCommandInputJsonld|\stdClass|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $code Step resource code + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowCompileWorkflowCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\WorkflowJobJsonldJobRead|Model\WorkflowJobJobRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\WorkflowCompilationWorkflowItemBadRequestException - * @throws \Gyroscops\Api\Exception\WorkflowCompilationWorkflowItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\WorkflowCompilationWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetPipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function workflowCompilationWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getPipelineStepWorkflowJobItem(string $code, string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\WorkflowCompilationWorkflowItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetPipelineStepWorkflowJobItem($code, $id, $accept), $fetch); } /** - * Replaces the Workflow resource. + * Replaces a step by another one in a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkflowRemoveWorkflowCommandInputJsonld|\stdClass|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $code Step resource code + * @param string $id Resource identifier + * @param Model\WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld|Model\WorkflowJobReplaceWorkflowPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowRemoveWorkflowCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\SoftDeleteWorkflowItemBadRequestException - * @throws \Gyroscops\Api\Exception\SoftDeleteWorkflowItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\SoftDeleteWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\ReplacePipelineStepWorkflowJobItemBadRequestException + * @throws Exception\ReplacePipelineStepWorkflowJobItemUnprocessableEntityException + * @throws Exception\ReplacePipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function softDeleteWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function replacePipelineStepWorkflowJobItem(string $code, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\SoftDeleteWorkflowItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ReplacePipelineStepWorkflowJobItem($code, $id, $requestBody, $accept), $fetch); } /** - * Retrieves a Workflow resource. + * Adds a step after another one in a pipeline. * - * @param string $id Workflow identifier - * @param array $queryParameters { + * @param string $code Step resource code + * @param string $id Resource identifier + * @param Model\WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld|Model\WorkflowJobAddAfterWorkflowPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @var int $page The collection page number - * } + * @return Model\WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead|\Psr\Http\Message\ResponseInterface|null * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @throws Exception\AddAfterPipelineStepWorkflowJobItemBadRequestException + * @throws Exception\AddAfterPipelineStepWorkflowJobItemUnprocessableEntityException + * @throws Exception\AddAfterPipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function addAfterPipelineStepWorkflowJobItem(string $code, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\AddAfterPipelineStepWorkflowJobItem($code, $id, $requestBody, $accept), $fetch); + } + + /** + * Adds a step before another one in a pipeline. + * + * @param string $code Step resource code + * @param string $id Resource identifier + * @param Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld|Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface + * @return Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\AddBeforePipelineStepWorkflowJobItemBadRequestException + * @throws Exception\AddBeforePipelineStepWorkflowJobItemUnprocessableEntityException + * @throws Exception\AddBeforePipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiWorkflowsJobsGetSubresourceWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function addBeforePipelineStepWorkflowJobItem(string $code, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsJobsGetSubresourceWorkflowSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\AddBeforePipelineStepWorkflowJobItem($code, $id, $requestBody, $accept), $fetch); } /** - * Schedule a crontab for a workflow. + * Moves a step after another one in a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld|\Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleCrontabCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $code Step resource code + * @param string $id Resource identifier + * @param Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld|Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\WorkflowScheduleCrontabWorkflowItemBadRequestException - * @throws \Gyroscops\Api\Exception\WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\WorkflowScheduleCrontabWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\MoveAfterPipelineStepWorkflowJobItemBadRequestException + * @throws Exception\MoveAfterPipelineStepWorkflowJobItemUnprocessableEntityException + * @throws Exception\MoveAfterPipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function workflowScheduleCrontabWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function moveAfterPipelineStepWorkflowJobItem(string $code, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\WorkflowScheduleCrontabWorkflowItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\MoveAfterPipelineStepWorkflowJobItem($code, $id, $requestBody, $accept), $fetch); } /** - * Schedule a workflow to start immediately. + * Moves a step before another one in a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleImmediateCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $code Step resource code + * @param string $id Resource identifier + * @param Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld|Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead|\Psr\Http\Message\ResponseInterface|null + * @return Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\WorkflowScheduleImmediateWorkflowItemBadRequestException - * @throws \Gyroscops\Api\Exception\WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\WorkflowScheduleImmediateWorkflowItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\MoveBeforePipelineStepWorkflowJobItemBadRequestException + * @throws Exception\MoveBeforePipelineStepWorkflowJobItemUnprocessableEntityException + * @throws Exception\MoveBeforePipelineStepWorkflowJobItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function workflowScheduleImmediateWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function moveBeforePipelineStepWorkflowJobItem(string $code, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\WorkflowScheduleImmediateWorkflowItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\MoveBeforePipelineStepWorkflowJobItem($code, $id, $requestBody, $accept), $fetch); } /** - * Retrieves a Workflow resource. + * Retrieves the collection of WorkflowJobPipeline resources. * - * @param string $id Workflow identifier - * @param array $queryParameters { + * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200|\Psr\Http\Message\ResponseInterface|null + * @return Model\RuntimeWorkflowsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobPipelinePipelineRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function apiWorkflowsSchedulesGetSubresourceWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getWorkflowJobPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkflowJobPipelineCollection($queryParameters, $accept), $fetch); } /** - * Removes the VariableFromConstant resource. + * Retrieves a WorkflowJobPipeline resource. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Psr\Http\Message\ResponseInterface|null + * @return Model\WorkflowJobPipelineJsonldPipelineRead|Model\WorkflowJobPipelinePipelineRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\DeleteVariableFromConstantItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetWorkflowJobPipelineItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function deleteVariableFromConstantItem(string $id, string $fetch = self::FETCH_OBJECT) + public function getWorkflowJobPipelineItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteVariableFromConstantItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkflowJobPipelineItem($id, $accept), $fetch); } /** - * Retrieves a VariableFromConstant resource. + * 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) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepStepRead[]|\Psr\Http\Message\ResponseInterface + * + * @throws Exception\UnexpectedStatusCodeException + */ + public function apiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource($id, $queryParameters, $accept), $fetch); + } + + /** + * Retrieves a Workflow resource. * * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\VariableFromConstantJsonldRead|\Gyroscops\Api\Model\VariableFromConstantRead|\Psr\Http\Message\ResponseInterface + * @return Model\WorkflowJsonldWorkflowRead|Model\WorkflowWorkflowRead|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetVariableFromConstantItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\GetWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function getVariableFromConstantItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getWorkflowItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConstantItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetWorkflowItem($id, $accept), $fetch); } /** - * Replaces the VariableFromConstant resource. + * Launches a workflow compilation. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\WorkflowCompileWorkflowCommandInputJsonld|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\VariableFromConstantJsonldRead|\Gyroscops\Api\Model\VariableFromConstantRead|\Psr\Http\Message\ResponseInterface + * @return Model\WorkflowCompileWorkflowCommandJsonldWorkflowRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemBadRequestException - * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\WorkflowCompilationWorkflowItemBadRequestException + * @throws Exception\WorkflowCompilationWorkflowItemUnprocessableEntityException + * @throws Exception\WorkflowCompilationWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function editVariableFromConstantItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function workflowCompilationWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditVariableFromConstantItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\WorkflowCompilationWorkflowItem($id, $requestBody, $accept), $fetch); } /** - * Removes the VariableFromSecret resource. + * Deletes a workflow softly. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param Model\WorkflowRemoveWorkflowCommandInputJsonld|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Psr\Http\Message\ResponseInterface|null + * @return Model\WorkflowRemoveWorkflowCommandJsonldWorkflowRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeleteVariableFromSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\SoftDeleteWorkflowItemBadRequestException + * @throws Exception\SoftDeleteWorkflowItemUnprocessableEntityException + * @throws Exception\SoftDeleteWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function deleteVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + public function softDeleteWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteVariableFromSecretItem($id), $fetch); + return $this->executeEndpoint(new Endpoint\SoftDeleteWorkflowItem($id, $requestBody, $accept), $fetch); } /** - * Retrieves a VariableFromSecret resource. + * Retrieves a Workflow resource. + * + * @param string $id Workflow identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } * - * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\VariableFromSecretJsonldRead|\Gyroscops\Api\Model\VariableFromSecretRead|\Psr\Http\Message\ResponseInterface + * @return Model\RuntimeWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobJobRead[]|\Psr\Http\Message\ResponseInterface * - * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\UnexpectedStatusCodeException */ - public function getVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function apiWorkflowsJobsGetSubresourceWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretItem($id, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\ApiWorkflowsJobsGetSubresourceWorkflowSubresource($id, $queryParameters, $accept), $fetch); } /** - * Replaces the VariableFromSecret resource. + * Schedule a crontab for a workflow. * - * @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) - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param Model\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld|Model\WorkflowDeclareWorkflowScheduleCrontabCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html * - * @return \Gyroscops\Api\Model\VariableFromSecretJsonldRead|\Gyroscops\Api\Model\VariableFromSecretRead|\Psr\Http\Message\ResponseInterface + * @return Model\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemBadRequestException - * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemNotFoundException - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + * @throws Exception\WorkflowScheduleCrontabWorkflowItemBadRequestException + * @throws Exception\WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException + * @throws Exception\WorkflowScheduleCrontabWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException */ - public function editVariableFromSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + public function workflowScheduleCrontabWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new Endpoint\WorkflowScheduleCrontabWorkflowItem($id, $requestBody, $accept), $fetch); + } + + /** + * Schedule a workflow to start immediately. + * + * @param string $id Resource identifier + * @param Model\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld|Model\WorkflowDeclareWorkflowScheduleImmediateCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/ld+json|application/json|text/html + * + * @return Model\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws Exception\WorkflowScheduleImmediateWorkflowItemBadRequestException + * @throws Exception\WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException + * @throws Exception\WorkflowScheduleImmediateWorkflowItemNotFoundException + * @throws Exception\UnexpectedStatusCodeException + */ + public function workflowScheduleImmediateWorkflowItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditVariableFromSecretItem($id, $requestBody, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\WorkflowScheduleImmediateWorkflowItem($id, $requestBody, $accept), $fetch); } public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) @@ -3914,15 +4189,15 @@ 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); } $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) { + $normalizers = [new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new Normalizer\JaneObjectNormalizer()]; + 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 db333cf6..e854d7cd 100644 --- a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php +++ b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AcceptReferralRequestReferralRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -37,7 +31,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}/accept'); + return str_replace(['{id}'], [$this->id], '/referral/referral-requests/{id}/accept'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -55,8 +49,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead * * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemBadRequestException @@ -69,10 +61,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddAfterPipelineStepPipelineItem.php b/src/Endpoint/AddAfterPipelineStepPipelineItem.php index f4d10e56..bfacc374 100644 --- a/src/Endpoint/AddAfterPipelineStepPipelineItem.php +++ b/src/Endpoint/AddAfterPipelineStepPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddAfterPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddAfterPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\Bas /** * 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 - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAddAfterPipelineStepCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddAfterPipelineStepWorkflowJobItem.php b/src/Endpoint/AddAfterPipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..603848b6 --- /dev/null +++ b/src/Endpoint/AddAfterPipelineStepWorkflowJobItem.php @@ -0,0 +1,100 @@ +code = $code; + $this->id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/{code}/add-after'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAddAfterWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAddAfterWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead|null + * + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepWorkflowJobItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepWorkflowJobItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (202 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddAfterPipelineStepWorkflowJobItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddAfterPipelineStepWorkflowJobItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddAfterPipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/AddBeforePipelineStepPipelineItem.php b/src/Endpoint/AddBeforePipelineStepPipelineItem.php index 1792d3ec..ec6ac927 100644 --- a/src/Endpoint/AddBeforePipelineStepPipelineItem.php +++ b/src/Endpoint/AddBeforePipelineStepPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddBeforePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddBeforePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\Ba /** * 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 - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAddBeforePipelineStepCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddBeforePipelineStepWorkflowJobItem.php b/src/Endpoint/AddBeforePipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..42c02cf1 --- /dev/null +++ b/src/Endpoint/AddBeforePipelineStepWorkflowJobItem.php @@ -0,0 +1,100 @@ +code = $code; + $this->id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/{code}/add-before'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead|null + * + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepWorkflowJobItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepWorkflowJobItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (202 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddBeforePipelineStepWorkflowJobItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddBeforePipelineStepWorkflowJobItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddBeforePipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/AddComposerAuthPipelinePipelineItem.php b/src/Endpoint/AddComposerAuthPipelinePipelineItem.php index 66ee8c96..603c03da 100644 --- a/src/Endpoint/AddComposerAuthPipelinePipelineItem.php +++ b/src/Endpoint/AddComposerAuthPipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddComposerAuthPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddComposerAuthPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\ /** * Adds a composer auth to a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAddPipelineComposerAuthCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddComposerAutoloadPipelinePipelineItem.php b/src/Endpoint/AddComposerAutoloadPipelinePipelineItem.php index 35b7ce49..f2abaab4 100644 --- a/src/Endpoint/AddComposerAutoloadPipelinePipelineItem.php +++ b/src/Endpoint/AddComposerAutoloadPipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddComposerAutoloadPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddComposerAutoloadPipelinePipelineItem extends \Gyroscops\Api\Runtime\Cli /** * Adds PSR4 autoload composer to a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddComposerPackagePipelinePipelineItem.php b/src/Endpoint/AddComposerPackagePipelinePipelineItem.php index 34765ce8..a6ef62e2 100644 --- a/src/Endpoint/AddComposerPackagePipelinePipelineItem.php +++ b/src/Endpoint/AddComposerPackagePipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddComposerPackagePipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddComposerPackagePipelinePipelineItem extends \Gyroscops\Api\Runtime\Clie /** * Adds a composer package to a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAddPipelineComposerPackageCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddComposerRepositoryPipelinePipelineItem.php b/src/Endpoint/AddComposerRepositoryPipelinePipelineItem.php index 5d85f96a..2f9a71f9 100644 --- a/src/Endpoint/AddComposerRepositoryPipelinePipelineItem.php +++ b/src/Endpoint/AddComposerRepositoryPipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddComposerRepositoryPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddComposerRepositoryPipelinePipelineItem extends \Gyroscops\Api\Runtime\C /** * Adds a composer repository to a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAddPipelineComposerRepositoryCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddPipelineStepProbePipelineItem.php b/src/Endpoint/AddPipelineStepProbePipelineItem.php index 0fe70882..ecf0eaa6 100644 --- a/src/Endpoint/AddPipelineStepProbePipelineItem.php +++ b/src/Endpoint/AddPipelineStepProbePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddPipelineStepProbePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddPipelineStepProbePipelineItem extends \Gyroscops\Api\Runtime\Client\Bas /** * Adds a probe to a step. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAddPipelineStepProbeCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddVariablesFromConfigurationEnvironmentItem.php b/src/Endpoint/AddVariablesFromConfigurationEnvironmentItem.php index bab35102..e2c68a17 100644 --- a/src/Endpoint/AddVariablesFromConfigurationEnvironmentItem.php +++ b/src/Endpoint/AddVariablesFromConfigurationEnvironmentItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddVariablesFromConfigurationEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,10 +14,10 @@ class AddVariablesFromConfigurationEnvironmentItem extends \Gyroscops\Api\Runtim /** * 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $configuration Configuration identifier + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate|\Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $configuration, string $id, $requestBody = null, array $accept = []) { @@ -45,13 +39,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -68,9 +62,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView * * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemBadRequestException * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException @@ -82,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView', 'json'); } } if (400 === $status) { @@ -103,6 +95,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddVariablesFromConstantEnvironmentItem.php b/src/Endpoint/AddVariablesFromConstantEnvironmentItem.php index e8f4b57d..8ef3fd6c 100644 --- a/src/Endpoint/AddVariablesFromConstantEnvironmentItem.php +++ b/src/Endpoint/AddVariablesFromConstantEnvironmentItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddVariablesFromConstantEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AddVariablesFromConstantEnvironmentItem extends \Gyroscops\Api\Runtime\Cli /** * Add variables with a constant value. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonld|\Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate|\Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\EnvironmentAddMultipleVariableFromConstantInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView * * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemBadRequestException * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AddVariablesFromSecretEnvironmentItem.php b/src/Endpoint/AddVariablesFromSecretEnvironmentItem.php index 9d501cb2..58fb6f01 100644 --- a/src/Endpoint/AddVariablesFromSecretEnvironmentItem.php +++ b/src/Endpoint/AddVariablesFromSecretEnvironmentItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AddVariablesFromSecretEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,10 +14,10 @@ class AddVariablesFromSecretEnvironmentItem extends \Gyroscops\Api\Runtime\Clien /** * 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $secret Secret identifier + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate|\Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $secret, string $id, $requestBody = null, array $accept = []) { @@ -45,13 +39,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -68,9 +62,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView * * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemBadRequestException * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemUnprocessableEntityException @@ -82,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView', 'json'); } } if (400 === $status) { @@ -103,6 +95,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php index 5152c6a5..65845f2d 100644 --- a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiActionsOrganizationGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -64,11 +56,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php index 4ac94788..deead072 100644 --- a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiActionsOwnerGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\UserJsonldUserRead|\Gyroscops\Api\Model\UserUserRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -64,11 +56,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonldUserRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php index 88d41666..07ecb2cd 100644 --- a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiActionsWorkspaceGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceRead|\Gyroscops\Api\Model\WorkspaceWorkspaceRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -64,11 +56,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php b/src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php deleted file mode 100644 index 5eb97bbd..00000000 --- a/src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/compilations/{id}/organization'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php b/src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php deleted file mode 100644 index 3e0570bf..00000000 --- a/src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/compilations/{id}/user'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php b/src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php deleted file mode 100644 index 57d0944f..00000000 --- a/src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/compilations/{id}/workspace'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php b/src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php deleted file mode 100644 index 8912f902..00000000 --- a/src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php +++ /dev/null @@ -1,98 +0,0 @@ -id = $id; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/environment/environments/{id}/variables'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1]); - $optionsResolver->addAllowedTypes('page', ['int']); - - return $optionsResolver; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200|\Gyroscops\Api\Model\VariableRead[] - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableRead[]', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php index 31e50880..0a17e82d 100644 --- a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php +++ b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource * @param string $id ExecutionPipelineJob identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepExecutionPipelineStepRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php index 1450fbe1..1097f378 100644 --- a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php +++ b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource exten * @param string $id ExecutionPipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepExecutionPipelineStepRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php index a7161d09..9e192666 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJobAction * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -64,10 +56,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php index 9bd91d20..48f11422 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ExecutionPipelineJobJsonld|\Gyroscops\Api\Model\ExecutionPipelineJob * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -64,10 +56,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php index 2f8daf8b..6d5432fe 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -24,8 +18,8 @@ class ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSub * @param string $pipeline ExecutionPipelineJob identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -73,9 +67,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -84,11 +76,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepExecutionPipelineStepRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -96,6 +88,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php index a7c88c4b..13296266 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -56,8 +50,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJobAction * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -67,10 +59,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } @@ -79,6 +71,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php index 82850465..afedc74c 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource extend * @param string $id ExecutionWorkflow identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJobExecutionWorkflowJobRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobExecutionWorkflowJobRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php index 6ed6bc12..eee6e1fe 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -56,8 +50,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ExecutionPipelineJobJsonld|\Gyroscops\Api\Model\ExecutionPipelineJob * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -67,10 +59,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } @@ -79,6 +71,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php index d684a6cd..626e7362 100644 --- a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionsActionGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionActionJsonld|\Gyroscops\Api\Model\ExecutionAction + * @return \Gyroscops\Api\Model\ExecutionActionJsonldExecutionActionRead|\Gyroscops\Api\Model\ExecutionActionExecutionActionRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -64,11 +56,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionActionJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionActionJsonldExecutionActionRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionActionExecutionActionRead', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionsEnvironmentGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsEnvironmentGetSubresourceExecutionSubresource.php new file mode 100644 index 00000000..af5da9d9 --- /dev/null +++ b/src/Endpoint/ApiExecutionsEnvironmentGetSubresourceExecutionSubresource.php @@ -0,0 +1,73 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/environment'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php deleted file mode 100644 index 6fbd4555..00000000 --- a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/organization'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php deleted file mode 100644 index 30e404fa..00000000 --- a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/owner'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php index 6625875b..1b20aedc 100644 --- a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionsPipelineGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/pipelines'); + return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/pipeline'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline + * @return \Gyroscops\Api\Model\ExecutionPipelineJsonldExecutionPipelineRead|\Gyroscops\Api\Model\ExecutionPipelineExecutionPipelineRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -64,11 +56,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonldExecutionPipelineRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionsScheduleGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsScheduleGetSubresourceExecutionSubresource.php new file mode 100644 index 00000000..e8d1b884 --- /dev/null +++ b/src/Endpoint/ApiExecutionsScheduleGetSubresourceExecutionSubresource.php @@ -0,0 +1,73 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/schedule'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\ScheduleJsonldScheduleRead|\Gyroscops\Api\Model\ScheduleScheduleRead + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleJsonldScheduleRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleScheduleRead', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php index 3dcdca0d..270a4d1f 100644 --- a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiExecutionsWorkflowGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/workflows'); + return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/workflow'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow + * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonldExecutionWorkflowRead|\Gyroscops\Api\Model\ExecutionWorkflowExecutionWorkflowRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -64,11 +56,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonldExecutionWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php deleted file mode 100644 index 28d327f3..00000000 --- a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php +++ /dev/null @@ -1,101 +0,0 @@ -id = $id; - $this->workflow = $workflow; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/executions/{id}/workflows/jobs'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1]); - $optionsResolver->addAllowedTypes('page', ['int']); - - return $optionsResolver; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJob[] - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php deleted file mode 100644 index 68e91bf0..00000000 --- a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/workspace'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php index 0a2e020b..71b320ee 100644 --- a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource extend * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php index 666cb9db..e6ee5b83 100644 --- a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,10 @@ class ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -61,18 +57,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'organization']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +77,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +89,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php index d51ac3e0..af13e917 100644 --- a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiOrganizationsUsersGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,10 @@ class ApiOrganizationsUsersGetSubresourceOrganizationSubresource extends \Gyrosc * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -61,18 +57,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'organization']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +77,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +89,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php index 42577bf3..6144ee76 100644 --- a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,10 @@ class ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource extends \G * @param string $id Organization identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -61,18 +57,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'organization']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\Workspace[] + * @return \Gyroscops\Api\Model\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkspaceWorkspaceRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +77,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +89,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php index 6a67bc1d..bc5135c9 100644 --- a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php +++ b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource extends \Gyros * @param string $id PipelineStep identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimePipelinesStepsIdProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbe[] + * @return \Gyroscops\Api\Model\RuntimePipelinesStepsIdProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbeStepProbeRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbeStepProbeRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php index 80720c95..34e3595d 100644 --- a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiPipelinesCompilationsGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiPipelinesCompilationsGetSubresourcePipelineSubresource extends \Gyrosco * @param string $id Pipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimePipelinesIdCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\Compilation[] + * @return \Gyroscops\Api\Model\RuntimePipelinesIdCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\CompilationCompilationRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Compilation[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\CompilationCompilationRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php deleted file mode 100644 index 669f9421..00000000 --- a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/pipelines/{id}/organization'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php deleted file mode 100644 index d3eb22af..00000000 --- a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/pipelines/{id}/owner'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiPipelinesSchedulesGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesSchedulesGetSubresourcePipelineSubresource.php index 17f37a35..a72ed13c 100644 --- a/src/Endpoint/ApiPipelinesSchedulesGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesSchedulesGetSubresourcePipelineSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiPipelinesSchedulesGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,10 @@ class ApiPipelinesSchedulesGetSubresourcePipelineSubresource extends \Gyroscops\ * @param string $id Pipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $pipeline + * @var array $pipeline[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -61,18 +57,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'pipeline']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('pipeline', ['string']); + $optionsResolver->addAllowedTypes('pipeline', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimePipelinesIdSchedulesGetLdjsonResponse200|null + * @return \Gyroscops\Api\Model\RuntimePipelinesIdSchedulesGetLdjsonResponse200|\Gyroscops\Api\Model\ScheduleScheduleRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +77,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return json_decode($body); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleScheduleRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +89,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php index 4e0c6d70..a268f265 100644 --- a/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiPipelinesStepsGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiPipelinesStepsGetSubresourcePipelineSubresource extends \Gyroscops\Api\ * @param string $id Pipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimePipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStep[] + * @return \Gyroscops\Api\Model\RuntimePipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepStepRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepStepRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php deleted file mode 100644 index 4d65e7d9..00000000 --- a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php +++ /dev/null @@ -1,81 +0,0 @@ -id = $id; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/pipelines/{id}/workspace'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php index 2ad135fb..a3894de1 100644 --- a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiSchedulesExecutionsGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,10 @@ class ApiSchedulesExecutionsGetSubresourceScheduleSubresource extends \Gyroscops * @param string $id Schedule identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $schedule + * @var array $schedule[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -61,18 +57,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'schedule']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('schedule', ['string']); + $optionsResolver->addAllowedTypes('schedule', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeSchedulesIdExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionRead[] + * @return \Gyroscops\Api\Model\RuntimeSchedulesIdExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionExecutionRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +77,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionExecutionRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +89,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource.php b/src/Endpoint/ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource.php index c174d649..3dc93034 100644 --- a/src/Endpoint/ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource.php +++ b/src/Endpoint/ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiSubscriptionOffersOptionsGetSubresourceSubscriptionOfferSubresource ext * @param string $id SubscriptionOffer identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,8 +64,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AuthenticationOffersIdOptionsGetLdjsonResponse200|\Gyroscops\Api\Model\Option[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -81,10 +73,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Option[]', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php index 43bb9360..293dd0ea 100644 --- a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -64,10 +56,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferRead', 'json'); } } @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php index 357de644..b9dff73c 100644 --- a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource extends \Gyro * @param string $id Subscription identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,8 +64,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200|\Gyroscops\Api\Model\SubscriptionOption[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -81,10 +73,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOption[]', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php index 71645baf..c86b52d0 100644 --- a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -64,11 +56,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -76,6 +68,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource.php b/src/Endpoint/ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource.php new file mode 100644 index 00000000..288dbd34 --- /dev/null +++ b/src/Endpoint/ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource.php @@ -0,0 +1,73 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/user-authorizations/{id}/organization'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource.php new file mode 100644 index 00000000..0c0934d0 --- /dev/null +++ b/src/Endpoint/ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource.php @@ -0,0 +1,90 @@ +id = $id; + $this->queryParameters = $queryParameters; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/additional-organizations'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->addAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * @return \Gyroscops\Api\Model\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200|\Gyroscops\Api\Model\OrganizationOrganizationRead[] + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead[]', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php new file mode 100644 index 00000000..bde8c5c8 --- /dev/null +++ b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php @@ -0,0 +1,90 @@ +id = $id; + $this->queryParameters = $queryParameters; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/authorizations'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->addAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * @return \Gyroscops\Api\Model\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[] + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead[]', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiUsersCurrentOrganizationGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersCurrentOrganizationGetSubresourceUserSubresource.php new file mode 100644 index 00000000..c2a130ba --- /dev/null +++ b/src/Endpoint/ApiUsersCurrentOrganizationGetSubresourceUserSubresource.php @@ -0,0 +1,73 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/current-organization'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiUsersCurrentWorkspaceGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersCurrentWorkspaceGetSubresourceUserSubresource.php new file mode 100644 index 00000000..49ecac82 --- /dev/null +++ b/src/Endpoint/ApiUsersCurrentWorkspaceGetSubresourceUserSubresource.php @@ -0,0 +1,73 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/current-workspace'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceRead|\Gyroscops\Api\Model\WorkspaceWorkspaceRead + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiUsersOrganizationGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersOrganizationGetSubresourceUserSubresource.php new file mode 100644 index 00000000..08e47e02 --- /dev/null +++ b/src/Endpoint/ApiUsersOrganizationGetSubresourceUserSubresource.php @@ -0,0 +1,73 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/organization'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiUsersWorkspacesGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersWorkspacesGetSubresourceUserSubresource.php new file mode 100644 index 00000000..b5c40fc8 --- /dev/null +++ b/src/Endpoint/ApiUsersWorkspacesGetSubresourceUserSubresource.php @@ -0,0 +1,94 @@ +id = $id; + $this->queryParameters = $queryParameters; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/workspaces'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page', 'organization']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); + + return $optionsResolver; + } + + /** + * @return \Gyroscops\Api\Model\AuthenticationUsersIdWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkspaceWorkspaceRead[] + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead[]', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource.php b/src/Endpoint/ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource.php index e646693a..43c1ebeb 100644 --- a/src/Endpoint/ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource.php +++ b/src/Endpoint/ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource e * @param string $id WorkflowJobPipeline identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStep[] + * @return \Gyroscops\Api\Model\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepStepRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepStepRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource.php deleted file mode 100644 index a88d39c0..00000000 --- a/src/Endpoint/ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource.php +++ /dev/null @@ -1,98 +0,0 @@ -id = $id; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/workflows/{id}/compilations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1]); - $optionsResolver->addAllowedTypes('page', ['int']); - - return $optionsResolver; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\Compilation[] - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Compilation[]', 'json'); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php index 03646c08..0df10859 100644 --- a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiWorkflowsJobsGetSubresourceWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiWorkflowsJobsGetSubresourceWorkflowSubresource extends \Gyroscops\Api\R * @param string $id Workflow identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobRead[] + * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdJobsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobJobRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobJobRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource.php deleted file mode 100644 index 59482ead..00000000 --- a/src/Endpoint/ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource.php +++ /dev/null @@ -1,98 +0,0 @@ -id = $id; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/runtime/workflows/{id}/schedules'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/ld+json', 'application/json']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1]); - $optionsResolver->addAllowedTypes('page', ['int']); - - return $optionsResolver; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200|null - * - * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200', 'json'); - } - if (mb_strpos($contentType, 'application/json') !== false) { - return json_decode($body); - } - } - throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php index 552c354e..2e02e8b2 100644 --- a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,8 @@ class ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource extends \Gyr * @param string $id Workspace identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +73,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource.php new file mode 100644 index 00000000..aee6a95a --- /dev/null +++ b/src/Endpoint/ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource.php @@ -0,0 +1,73 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/workspaces/{id}/organization'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php index a4c18dbb..255ef082 100644 --- a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ApiWorkspacesUsersGetSubresourceWorkspaceSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,8 +16,10 @@ class ApiWorkspacesUsersGetSubresourceWorkspaceSubresource extends \Gyroscops\Ap * @param string $id Workspace identifier * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -61,18 +57,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'organization']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationWorkspacesIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\AuthenticationWorkspacesIdUsersGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,11 +77,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +89,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AppendPipelineStepPipelineItem.php b/src/Endpoint/AppendPipelineStepPipelineItem.php index c6d7d19a..389be34a 100644 --- a/src/Endpoint/AppendPipelineStepPipelineItem.php +++ b/src/Endpoint/AppendPipelineStepPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class AppendPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class AppendPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseE /** * Appends a step to a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineAppendPipelineStepCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/AppendPipelineStepWorkflowJobItem.php b/src/Endpoint/AppendPipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..2803b1bb --- /dev/null +++ b/src/Endpoint/AppendPipelineStepWorkflowJobItem.php @@ -0,0 +1,97 @@ +id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/workflows/jobs/{id}/pipelines/steps'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAppendWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobAppendWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead|null + * + * @throws \Gyroscops\Api\Exception\AppendPipelineStepWorkflowJobItemBadRequestException + * @throws \Gyroscops\Api\Exception\AppendPipelineStepWorkflowJobItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AppendPipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (202 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AppendPipelineStepWorkflowJobItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AppendPipelineStepWorkflowJobItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AppendPipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ChangePasswordUserItem.php b/src/Endpoint/ChangePasswordUserItem.php index a5836a5d..23040f09 100644 --- a/src/Endpoint/ChangePasswordUserItem.php +++ b/src/Endpoint/ChangePasswordUserItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ChangePasswordUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,7 +16,7 @@ class ChangePasswordUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint * @param string $id Resource identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ - public function __construct(string $id, ?\Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody = null, array $accept = []) + public function __construct(string $id, ?\stdClass $requestBody = null, array $accept = []) { $this->id = $id; $this->body = $requestBody; @@ -41,8 +35,8 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\UserUserChangePasswordInput) { - return [['Content-Type' => ['application/merge-patch+json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/merge-patch+json']], json_encode($this->body)]; } return [[], null]; @@ -58,9 +52,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\UserJsonldUserRead|\Gyroscops\Api\Model\UserUserRead * * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemBadRequestException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemUnprocessableEntityException @@ -72,11 +64,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonldUserRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ChangeValuesConfigurationItem.php b/src/Endpoint/ChangeValuesConfigurationItem.php index 360e1481..e5569673 100644 --- a/src/Endpoint/ChangeValuesConfigurationItem.php +++ b/src/Endpoint/ChangeValuesConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ChangeValuesConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class ChangeValuesConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEn /** * 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Configuration identifier + * @param \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate|\Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputConfigurationUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\ConfigurationChangeConfigurationValueInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputConfigurationUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputConfigurationUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration + * @return \Gyroscops\Api\Model\ConfigurationJsonldConfigurationView|\Gyroscops\Api\Model\ConfigurationConfigurationView * * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemBadRequestException * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Configuration', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ChangeValuesSecretItem.php b/src/Endpoint/ChangeValuesSecretItem.php index c2a81824..cb17419d 100644 --- a/src/Endpoint/ChangeValuesSecretItem.php +++ b/src/Endpoint/ChangeValuesSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ChangeValuesSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class ChangeValuesSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint /** * Change the secret values values inside an existing secrets storage. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonld|\Gyroscops\Api\Model\SecretChangeSecretValueInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Secret identifier + * @param \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonldSecretUpdate|\Gyroscops\Api\Model\SecretChangeSecretValueInputSecretUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\SecretChangeSecretValueInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonldSecretUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInputSecretUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInputSecretUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret + * @return \Gyroscops\Api\Model\SecretJsonldSecretRead|\Gyroscops\Api\Model\SecretSecretRead * * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemBadRequestException * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretSecretRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeclareExecutionExecutionCollection.php b/src/Endpoint/DeclareExecutionExecutionCollection.php index 08776084..0f95d74a 100644 --- a/src/Endpoint/DeclareExecutionExecutionCollection.php +++ b/src/Endpoint/DeclareExecutionExecutionCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeclareExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandJsonldRead|null + * @return \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead|null * * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeclarePipelinePipelineCollection.php b/src/Endpoint/DeclarePipelinePipelineCollection.php index ccb62944..b2aea59c 100644 --- a/src/Endpoint/DeclarePipelinePipelineCollection.php +++ b/src/Endpoint/DeclarePipelinePipelineCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeclarePipelinePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class DeclarePipelinePipelineCollection extends \Gyroscops\Api\Runtime\Client\Ba /** * Declares a pipeline. * - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeclareWorkflowWorkflowCollection.php b/src/Endpoint/DeclareWorkflowWorkflowCollection.php index 9a87ff8b..24881abd 100644 --- a/src/Endpoint/DeclareWorkflowWorkflowCollection.php +++ b/src/Endpoint/DeclareWorkflowWorkflowCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeclareWorkflowWorkflowCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowCommandJsonldRead|null + * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowCommandJsonldWorkflowRead|null * * @throws \Gyroscops\Api\Exception\DeclareWorkflowWorkflowCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclareWorkflowWorkflowCollectionUnprocessableEntityException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteConfigurationItem.php b/src/Endpoint/DeleteConfigurationItem.php index cb1976e5..1eb876f9 100644 --- a/src/Endpoint/DeleteConfigurationItem.php +++ b/src/Endpoint/DeleteConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteConfigurationItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteEnvironmentItem.php b/src/Endpoint/DeleteEnvironmentItem.php index 12d361c3..e1014951 100644 --- a/src/Endpoint/DeleteEnvironmentItem.php +++ b/src/Endpoint/DeleteEnvironmentItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteEnvironmentItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteJobWorkflowJobItem.php b/src/Endpoint/DeleteJobWorkflowJobItem.php new file mode 100644 index 00000000..b0c9a861 --- /dev/null +++ b/src/Endpoint/DeleteJobWorkflowJobItem.php @@ -0,0 +1,60 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/workflows/jobs/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteJobWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (204 === $status) { + return null; + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\DeleteJobWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/DeleteOrganizationItem.php b/src/Endpoint/DeleteOrganizationItem.php index 4e95660d..18fa6bbc 100644 --- a/src/Endpoint/DeleteOrganizationItem.php +++ b/src/Endpoint/DeleteOrganizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeletePipelinePipelineItem.php b/src/Endpoint/DeletePipelinePipelineItem.php index b90a7210..36d7c798 100644 --- a/src/Endpoint/DeletePipelinePipelineItem.php +++ b/src/Endpoint/DeletePipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeletePipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeletePipelineStepPipelineItem.php b/src/Endpoint/DeletePipelineStepPipelineItem.php index 08092238..ae690a62 100644 --- a/src/Endpoint/DeletePipelineStepPipelineItem.php +++ b/src/Endpoint/DeletePipelineStepPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeletePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -44,8 +38,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException @@ -66,6 +58,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeletePipelineStepWorkflowJobItem.php b/src/Endpoint/DeletePipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..1c8454c5 --- /dev/null +++ b/src/Endpoint/DeletePipelineStepWorkflowJobItem.php @@ -0,0 +1,63 @@ +code = $code; + $this->id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/{code}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * @return null + * + * @throws \Gyroscops\Api\Exception\DeletePipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (204 === $status) { + return null; + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\DeletePipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/DeleteReferralCodeItem.php b/src/Endpoint/DeleteReferralCodeItem.php index b58aaa04..81f649fe 100644 --- a/src/Endpoint/DeleteReferralCodeItem.php +++ b/src/Endpoint/DeleteReferralCodeItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteReferralCodeItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -32,7 +26,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/referral/code/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/codes/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteSecretItem.php b/src/Endpoint/DeleteSecretItem.php index 1c0d878e..a2321704 100644 --- a/src/Endpoint/DeleteSecretItem.php +++ b/src/Endpoint/DeleteSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteSecretItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteSubscriptionItem.php b/src/Endpoint/DeleteSubscriptionItem.php index fa4beb82..9fc71287 100644 --- a/src/Endpoint/DeleteSubscriptionItem.php +++ b/src/Endpoint/DeleteSubscriptionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteSubscriptionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteSubscriptionOfferItem.php b/src/Endpoint/DeleteSubscriptionOfferItem.php index 80c3b484..fa5d6449 100644 --- a/src/Endpoint/DeleteSubscriptionOfferItem.php +++ b/src/Endpoint/DeleteSubscriptionOfferItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteSubscriptionOfferItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteSubscriptionOfferItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteTemplateItem.php b/src/Endpoint/DeleteTemplateItem.php new file mode 100644 index 00000000..aaf1bb12 --- /dev/null +++ b/src/Endpoint/DeleteTemplateItem.php @@ -0,0 +1,60 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/templates/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteTemplateItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (204 === $status) { + return null; + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\DeleteTemplateItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/DeleteUserAuthorizationItem.php b/src/Endpoint/DeleteUserAuthorizationItem.php index ef8e714f..e52929f1 100644 --- a/src/Endpoint/DeleteUserAuthorizationItem.php +++ b/src/Endpoint/DeleteUserAuthorizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -32,7 +26,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorizations/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteUserItem.php b/src/Endpoint/DeleteUserItem.php index 657a6bea..0d1c4d34 100644 --- a/src/Endpoint/DeleteUserItem.php +++ b/src/Endpoint/DeleteUserItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteUserItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteVariableFromConfigurationItem.php b/src/Endpoint/DeleteVariableFromConfigurationItem.php index 14b9c681..5c4e2a8f 100644 --- a/src/Endpoint/DeleteVariableFromConfigurationItem.php +++ b/src/Endpoint/DeleteVariableFromConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteVariableFromConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteVariableFromConfigurationItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteVariableFromConstantItem.php b/src/Endpoint/DeleteVariableFromConstantItem.php index 1f00da0f..9843e7a7 100644 --- a/src/Endpoint/DeleteVariableFromConstantItem.php +++ b/src/Endpoint/DeleteVariableFromConstantItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteVariableFromConstantItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -32,7 +26,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/variables-from-constant/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variables-from-constant/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteVariableFromConstantItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteVariableFromSecretItem.php b/src/Endpoint/DeleteVariableFromSecretItem.php index f962b701..63f03695 100644 --- a/src/Endpoint/DeleteVariableFromSecretItem.php +++ b/src/Endpoint/DeleteVariableFromSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteVariableFromSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -32,7 +26,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/variables-from-secret/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variables-from-secret/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteVariableFromSecretItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/DeleteWorkspaceItem.php b/src/Endpoint/DeleteWorkspaceItem.php index ba6b8da3..eae76b4f 100644 --- a/src/Endpoint/DeleteWorkspaceItem.php +++ b/src/Endpoint/DeleteWorkspaceItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class DeleteWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/EditConfigurationItem.php b/src/Endpoint/EditConfigurationItem.php index 49403dce..6a846712 100644 --- a/src/Endpoint/EditConfigurationItem.php +++ b/src/Endpoint/EditConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class EditConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class EditConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint i /** * Replaces the Configuration resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\ConfigurationJsonldEdit|\Gyroscops\Api\Model\ConfigurationEdit|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ConfigurationJsonldConfigurationUpdate|\Gyroscops\Api\Model\ConfigurationConfigurationUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\ConfigurationJsonldEdit) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationJsonldConfigurationUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationEdit) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationConfigurationUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationEdit) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationConfigurationUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration + * @return \Gyroscops\Api\Model\ConfigurationJsonldConfigurationView|\Gyroscops\Api\Model\ConfigurationConfigurationView * * @throws \Gyroscops\Api\Exception\EditConfigurationItemBadRequestException * @throws \Gyroscops\Api\Exception\EditConfigurationItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Configuration', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/EditEnvironmentItem.php b/src/Endpoint/EditEnvironmentItem.php index 7ebad226..c0b67e4a 100644 --- a/src/Endpoint/EditEnvironmentItem.php +++ b/src/Endpoint/EditEnvironmentItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class EditEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class EditEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint imp /** * Replaces the Environment resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\EnvironmentJsonldWrite|\Gyroscops\Api\Model\EnvironmentWrite|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentUpdate|\Gyroscops\Api\Model\EnvironmentEnvironmentUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\EnvironmentJsonldWrite) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentWrite) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentEnvironmentUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentWrite) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentEnvironmentUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView * * @throws \Gyroscops\Api\Exception\EditEnvironmentItemBadRequestException * @throws \Gyroscops\Api\Exception\EditEnvironmentItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/EditSecretItem.php b/src/Endpoint/EditSecretItem.php index 4b2b5aa9..02bdd48a 100644 --- a/src/Endpoint/EditSecretItem.php +++ b/src/Endpoint/EditSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class EditSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class EditSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implemen /** * Replaces the Secret resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SecretJsonldEdit|\Gyroscops\Api\Model\SecretEdit|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\SecretJsonldSecretUpdate|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\SecretJsonldEdit) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretJsonldSecretUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretEdit) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretEdit) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret + * @return \Gyroscops\Api\Model\SecretJsonldSecretRead|\Gyroscops\Api\Model\SecretSecretRead * * @throws \Gyroscops\Api\Exception\EditSecretItemBadRequestException * @throws \Gyroscops\Api\Exception\EditSecretItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretSecretRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/EditVariableFromConfigurationItem.php b/src/Endpoint/EditVariableFromConfigurationItem.php index 7583db93..c3266bfb 100644 --- a/src/Endpoint/EditVariableFromConfigurationItem.php +++ b/src/Endpoint/EditVariableFromConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class EditVariableFromConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class EditVariableFromConfigurationItem extends \Gyroscops\Api\Runtime\Client\Ba /** * Replaces the VariableFromConfiguration resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\VariableFromConfigurationJsonldWrite|\stdClass|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\VariableFromConfigurationJsonldVariableUpdate|\Gyroscops\Api\Model\VariableFromConfigurationVariableUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\VariableFromConfigurationJsonldWrite) { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigurationJsonldVariableUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \stdClass) { - return [['Content-Type' => ['application/json']], json_encode($this->body)]; + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigurationVariableUpdate) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \stdClass) { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigurationVariableUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead|\Gyroscops\Api\Model\VariableFromConfigurationRead + * @return \Gyroscops\Api\Model\VariableFromConfigurationJsonldVariableViewEnvironmentView|\Gyroscops\Api\Model\VariableFromConfigurationVariableViewEnvironmentView * * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemBadRequestException * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldVariableViewEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationVariableViewEnvironmentView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/EditVariableFromConstantItem.php b/src/Endpoint/EditVariableFromConstantItem.php index 42b12f04..f0c3099c 100644 --- a/src/Endpoint/EditVariableFromConstantItem.php +++ b/src/Endpoint/EditVariableFromConstantItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class EditVariableFromConstantItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class EditVariableFromConstantItem extends \Gyroscops\Api\Runtime\Client\BaseEnd /** * Replaces the VariableFromConstant resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\VariableFromConstantJsonldWrite|\stdClass|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\VariableFromConstantJsonldVariableUpdate|\Gyroscops\Api\Model\VariableFromConstantVariableUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -37,18 +31,18 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/variables-from-constant/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variables-from-constant/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConstantJsonldWrite) { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConstantJsonldVariableUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \stdClass) { - return [['Content-Type' => ['application/json']], json_encode($this->body)]; + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConstantVariableUpdate) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \stdClass) { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConstantVariableUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\VariableFromConstantJsonldRead|\Gyroscops\Api\Model\VariableFromConstantRead + * @return \Gyroscops\Api\Model\VariableFromConstantJsonldVariableViewEnvironmentView|\Gyroscops\Api\Model\VariableFromConstantVariableViewEnvironmentView * * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemBadRequestException * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableViewEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantVariableViewEnvironmentView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/EditVariableFromSecretItem.php b/src/Endpoint/EditVariableFromSecretItem.php index 53adde96..bd249585 100644 --- a/src/Endpoint/EditVariableFromSecretItem.php +++ b/src/Endpoint/EditVariableFromSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class EditVariableFromSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class EditVariableFromSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpo /** * Replaces the VariableFromSecret resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\VariableFromSecretJsonldWrite|\stdClass|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\VariableFromSecretJsonldVariableUpdate|\Gyroscops\Api\Model\VariableFromSecretVariableUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -37,18 +31,18 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/variables-from-secret/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variables-from-secret/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretJsonldWrite) { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretJsonldVariableUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \stdClass) { - return [['Content-Type' => ['application/json']], json_encode($this->body)]; + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretVariableUpdate) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \stdClass) { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretVariableUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\VariableFromSecretJsonldRead|\Gyroscops\Api\Model\VariableFromSecretRead + * @return \Gyroscops\Api\Model\VariableFromSecretJsonldVariableViewEnvironmentView|\Gyroscops\Api\Model\VariableFromSecretVariableViewEnvironmentView * * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemBadRequestException * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableViewEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretVariableViewEnvironmentView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetActionCollection.php b/src/Endpoint/GetActionCollection.php index e24b765b..b6c5fb38 100644 --- a/src/Endpoint/GetActionCollection.php +++ b/src/Endpoint/GetActionCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetActionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetActionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint imp * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeActionsGetLdjsonResponse200|\Gyroscops\Api\Model\ActionRead[] + * @return \Gyroscops\Api\Model\RuntimeActionsGetLdjsonResponse200|\Gyroscops\Api\Model\ActionActionRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionActionRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetActionItem.php b/src/Endpoint/GetActionItem.php index dda82d52..3b9f2df8 100644 --- a/src/Endpoint/GetActionItem.php +++ b/src/Endpoint/GetActionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ActionJsonldRead|\Gyroscops\Api\Model\ActionRead + * @return \Gyroscops\Api\Model\ActionJsonldActionRead|\Gyroscops\Api\Model\ActionActionRead * * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionJsonldActionRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionActionRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php index aeed74e7..39a93779 100644 --- a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoInstanceByPimUrlAkeneoInstanceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,9 +14,9 @@ class GetAkeneoInstanceByPimUrlAkeneoInstanceCollection extends \Gyroscops\Api\R * * @param array $queryParameters { * - * @var string $url - * @var int $page The collection page number - * } + * @var string $url + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -69,8 +63,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -80,10 +72,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } @@ -92,6 +84,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceCollection.php index dc0f0735..f947947b 100644 --- a/src/Endpoint/GetAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoInstanceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetAkeneoInstanceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndp * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\GatewayAkeneoInstancesGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoInstanceItem.php b/src/Endpoint/GetAkeneoInstanceItem.php index fef2e530..3b58a6b1 100644 --- a/src/Endpoint/GetAkeneoInstanceItem.php +++ b/src/Endpoint/GetAkeneoInstanceItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoInstanceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AkeneoInstanceJsonld|\Gyroscops\Api\Model\AkeneoInstance * * @throws \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php index 536f8d24..cf502f30 100644 --- a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoInstanceOauthAkeneoInstanceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,9 +14,9 @@ class GetAkeneoInstanceOauthAkeneoInstanceCollection extends \Gyroscops\Api\Runt * * @param array $queryParameters { * - * @var string $url - * @var int $page The collection page number - * } + * @var string $url + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -69,8 +63,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoInstance[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -80,10 +72,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } @@ -92,6 +84,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php index 3b7fce7a..215125ef 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoLinkedAccountAkeneoLinkedAccountCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -21,8 +15,8 @@ class GetAkeneoLinkedAccountAkeneoLinkedAccountCollection extends \Gyroscops\Api * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -40,7 +34,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{akeneoUserId}'], [$this->akeneoUserId], '/gateway/akeneo/linked-account/{akeneoUserId}'); + return str_replace(['{akeneoUserId}'], [$this->akeneoUserId], '/gateway/akeneo/linked-accounts/{akeneoUserId}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -69,9 +63,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoLinkedAccount[] + * @return \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoLinkedAccount[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -80,10 +72,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); } } @@ -92,6 +84,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountCollection.php index 3e94ad06..8e518847 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/GetAkeneoLinkedAccountCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoLinkedAccountCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetAkeneoLinkedAccountCollection extends \Gyroscops\Api\Runtime\Client\Bas * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoLinkedAccount[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountItem.php b/src/Endpoint/GetAkeneoLinkedAccountItem.php index c8843449..bc6e7616 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountItem.php +++ b/src/Endpoint/GetAkeneoLinkedAccountItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoLinkedAccountItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccount * * @throws \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoOauthTokenCollection.php b/src/Endpoint/GetAkeneoOauthTokenCollection.php index c0aae0ae..dae4f76e 100644 --- a/src/Endpoint/GetAkeneoOauthTokenCollection.php +++ b/src/Endpoint/GetAkeneoOauthTokenCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoOauthTokenCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetAkeneoOauthTokenCollection extends \Gyroscops\Api\Runtime\Client\BaseEn * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetLdjsonResponse200|\Gyroscops\Api\Model\AkeneoOauthTokenRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetAkeneoOauthTokenItem.php b/src/Endpoint/GetAkeneoOauthTokenItem.php index c608a79c..55edf3ab 100644 --- a/src/Endpoint/GetAkeneoOauthTokenItem.php +++ b/src/Endpoint/GetAkeneoOauthTokenItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetAkeneoOauthTokenItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AkeneoOauthTokenJsonldRead|\Gyroscops\Api\Model\AkeneoOauthTokenRead * * @throws \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetCompilationCollection.php b/src/Endpoint/GetCompilationCollection.php index de68dfd0..7ce99bfd 100644 --- a/src/Endpoint/GetCompilationCollection.php +++ b/src/Endpoint/GetCompilationCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetCompilationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetCompilationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoin * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\Compilation[] + * @return \Gyroscops\Api\Model\RuntimeCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\CompilationCompilationRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Compilation[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\CompilationCompilationRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetCompilationItem.php b/src/Endpoint/GetCompilationItem.php index 1ee3ee1f..434537e7 100644 --- a/src/Endpoint/GetCompilationItem.php +++ b/src/Endpoint/GetCompilationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetCompilationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\CompilationJsonld|\Gyroscops\Api\Model\Compilation + * @return \Gyroscops\Api\Model\CompilationJsonldCompilationRead|\Gyroscops\Api\Model\CompilationCompilationRead * * @throws \Gyroscops\Api\Exception\GetCompilationItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\CompilationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\CompilationJsonldCompilationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Compilation', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\CompilationCompilationRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetConfigurationCollection.php b/src/Endpoint/GetConfigurationCollection.php index 9ae02001..33a77c18 100644 --- a/src/Endpoint/GetConfigurationCollection.php +++ b/src/Endpoint/GetConfigurationCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetConfigurationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetConfigurationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpo * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentConfigurationsGetLdjsonResponse200|\Gyroscops\Api\Model\Configuration[] + * @return \Gyroscops\Api\Model\EnvironmentConfigurationsGetLdjsonResponse200|\Gyroscops\Api\Model\ConfigurationConfigurationView[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Configuration[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetConfigurationItem.php b/src/Endpoint/GetConfigurationItem.php index 731aa346..16fe0e08 100644 --- a/src/Endpoint/GetConfigurationItem.php +++ b/src/Endpoint/GetConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration + * @return \Gyroscops\Api\Model\ConfigurationJsonldConfigurationView|\Gyroscops\Api\Model\ConfigurationConfigurationView * * @throws \Gyroscops\Api\Exception\GetConfigurationItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Configuration', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetEnvironmentCollection.php b/src/Endpoint/GetEnvironmentCollection.php index 24f1c913..2a5a6879 100644 --- a/src/Endpoint/GetEnvironmentCollection.php +++ b/src/Endpoint/GetEnvironmentCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoin * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentEnvironmentsGetLdjsonResponse200|\Gyroscops\Api\Model\EnvironmentRead[] + * @return \Gyroscops\Api\Model\EnvironmentEnvironmentsGetLdjsonResponse200|\Gyroscops\Api\Model\EnvironmentEnvironmentView[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetEnvironmentItem.php b/src/Endpoint/GetEnvironmentItem.php index 619062ee..595cccc4 100644 --- a/src/Endpoint/GetEnvironmentItem.php +++ b/src/Endpoint/GetEnvironmentItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView * * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionActionItem.php b/src/Endpoint/GetExecutionActionItem.php index 53b9a232..96dc9b5d 100644 --- a/src/Endpoint/GetExecutionActionItem.php +++ b/src/Endpoint/GetExecutionActionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionActionJsonld|\Gyroscops\Api\Model\ExecutionAction + * @return \Gyroscops\Api\Model\ExecutionActionJsonldExecutionActionRead|\Gyroscops\Api\Model\ExecutionActionExecutionActionRead * * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionActionJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionActionJsonldExecutionActionRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionActionExecutionActionRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionActionLogsExecutionWorkflowItem.php b/src/Endpoint/GetExecutionActionLogsExecutionWorkflowItem.php index 2f87bcd6..827edf61 100644 --- a/src/Endpoint/GetExecutionActionLogsExecutionWorkflowItem.php +++ b/src/Endpoint/GetExecutionActionLogsExecutionWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionActionLogsExecutionWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -56,9 +50,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow + * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonldExecutionWorkflowRead|\Gyroscops\Api\Model\ExecutionWorkflowExecutionWorkflowRead * * @throws \Gyroscops\Api\Exception\GetExecutionActionLogsExecutionWorkflowItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -68,11 +60,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonldExecutionWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead', 'json'); } } if (404 === $status) { @@ -83,6 +75,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionCollection.php b/src/Endpoint/GetExecutionCollection.php index 0dc23a57..71cd8c3d 100644 --- a/src/Endpoint/GetExecutionCollection.php +++ b/src/Endpoint/GetExecutionCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,10 @@ class GetExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $schedule + * @var array $schedule[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -58,18 +54,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'schedule']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('schedule', ['string']); + $optionsResolver->addAllowedTypes('schedule', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionRead[] + * @return \Gyroscops\Api\Model\RuntimeExecutionsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionExecutionRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionExecutionRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +86,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionItem.php b/src/Endpoint/GetExecutionItem.php index 17de9025..33d53686 100644 --- a/src/Endpoint/GetExecutionItem.php +++ b/src/Endpoint/GetExecutionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionJsonldRead|\Gyroscops\Api\Model\ExecutionRead + * @return \Gyroscops\Api\Model\ExecutionJsonldExecutionRead|\Gyroscops\Api\Model\ExecutionExecutionRead * * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionJsonldExecutionRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionExecutionRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionLogsExecutionPipelineItem.php b/src/Endpoint/GetExecutionLogsExecutionPipelineItem.php index 32406ae9..b1498d6d 100644 --- a/src/Endpoint/GetExecutionLogsExecutionPipelineItem.php +++ b/src/Endpoint/GetExecutionLogsExecutionPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionLogsExecutionPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -56,9 +50,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline + * @return \Gyroscops\Api\Model\ExecutionPipelineJsonldExecutionPipelineRead|\Gyroscops\Api\Model\ExecutionPipelineExecutionPipelineRead * * @throws \Gyroscops\Api\Exception\GetExecutionLogsExecutionPipelineItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -68,11 +60,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonldExecutionPipelineRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead', 'json'); } } if (404 === $status) { @@ -83,6 +75,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionPipelineCollection.php b/src/Endpoint/GetExecutionPipelineCollection.php index 4e6355fa..4cd38074 100644 --- a/src/Endpoint/GetExecutionPipelineCollection.php +++ b/src/Endpoint/GetExecutionPipelineCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetExecutionPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseE * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipeline[] + * @return \Gyroscops\Api\Model\RuntimeExecutionsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineExecutionPipelineRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionPipelineItem.php b/src/Endpoint/GetExecutionPipelineItem.php index a5a08175..eeb52787 100644 --- a/src/Endpoint/GetExecutionPipelineItem.php +++ b/src/Endpoint/GetExecutionPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline + * @return \Gyroscops\Api\Model\ExecutionPipelineJsonldExecutionPipelineRead|\Gyroscops\Api\Model\ExecutionPipelineExecutionPipelineRead * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonldExecutionPipelineRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionPipelineJobCollection.php b/src/Endpoint/GetExecutionPipelineJobCollection.php index 5a167944..0fe4aa8e 100644 --- a/src/Endpoint/GetExecutionPipelineJobCollection.php +++ b/src/Endpoint/GetExecutionPipelineJobCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionPipelineJobCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetExecutionPipelineJobCollection extends \Gyroscops\Api\Runtime\Client\Ba * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionPipelineJob[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionPipelineJobItem.php b/src/Endpoint/GetExecutionPipelineJobItem.php index f4d926b2..4265bbff 100644 --- a/src/Endpoint/GetExecutionPipelineJobItem.php +++ b/src/Endpoint/GetExecutionPipelineJobItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionPipelineJobItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ExecutionPipelineJobJsonld|\Gyroscops\Api\Model\ExecutionPipelineJob * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionPipelineRejectsExecutionWorkflowItem.php b/src/Endpoint/GetExecutionPipelineRejectsExecutionWorkflowItem.php index e181ff72..0e213b38 100644 --- a/src/Endpoint/GetExecutionPipelineRejectsExecutionWorkflowItem.php +++ b/src/Endpoint/GetExecutionPipelineRejectsExecutionWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionPipelineRejectsExecutionWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -59,9 +53,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow + * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonldExecutionWorkflowRead|\Gyroscops\Api\Model\ExecutionWorkflowExecutionWorkflowRead * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -71,11 +63,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonldExecutionWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead', 'json'); } } if (404 === $status) { @@ -86,6 +78,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionPipelineStepItem.php b/src/Endpoint/GetExecutionPipelineStepItem.php index 8c598673..6bd8225a 100644 --- a/src/Endpoint/GetExecutionPipelineStepItem.php +++ b/src/Endpoint/GetExecutionPipelineStepItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionPipelineStepItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionPipelineStepJsonld|\Gyroscops\Api\Model\ExecutionPipelineStep + * @return \Gyroscops\Api\Model\ExecutionPipelineStepJsonldExecutionPipelineStepRead|\Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonldExecutionPipelineStepRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepExecutionPipelineStepRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionRejectsExecutionPipelineItem.php b/src/Endpoint/GetExecutionRejectsExecutionPipelineItem.php index 3f174257..7bf777de 100644 --- a/src/Endpoint/GetExecutionRejectsExecutionPipelineItem.php +++ b/src/Endpoint/GetExecutionRejectsExecutionPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionRejectsExecutionPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -56,9 +50,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionPipelineJsonld|\Gyroscops\Api\Model\ExecutionPipeline + * @return \Gyroscops\Api\Model\ExecutionPipelineJsonldExecutionPipelineRead|\Gyroscops\Api\Model\ExecutionPipelineExecutionPipelineRead * * @throws \Gyroscops\Api\Exception\GetExecutionRejectsExecutionPipelineItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -68,11 +60,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonldExecutionPipelineRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead', 'json'); } } if (404 === $status) { @@ -83,6 +75,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionWorkflowCollection.php b/src/Endpoint/GetExecutionWorkflowCollection.php index a988801c..a0fafd1b 100644 --- a/src/Endpoint/GetExecutionWorkflowCollection.php +++ b/src/Endpoint/GetExecutionWorkflowCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionWorkflowCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetExecutionWorkflowCollection extends \Gyroscops\Api\Runtime\Client\BaseE * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflow[] + * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowExecutionWorkflowRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionWorkflowItem.php b/src/Endpoint/GetExecutionWorkflowItem.php index 233bcda5..5590b088 100644 --- a/src/Endpoint/GetExecutionWorkflowItem.php +++ b/src/Endpoint/GetExecutionWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonld|\Gyroscops\Api\Model\ExecutionWorkflow + * @return \Gyroscops\Api\Model\ExecutionWorkflowJsonldExecutionWorkflowRead|\Gyroscops\Api\Model\ExecutionWorkflowExecutionWorkflowRead * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonldExecutionWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionWorkflowJobActionItem.php b/src/Endpoint/GetExecutionWorkflowJobActionItem.php index a9e90bad..5d4e9ecb 100644 --- a/src/Endpoint/GetExecutionWorkflowJobActionItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobActionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionWorkflowJobActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJobAction * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionWorkflowJobCollection.php b/src/Endpoint/GetExecutionWorkflowJobCollection.php index c202daf4..04e0026f 100644 --- a/src/Endpoint/GetExecutionWorkflowJobCollection.php +++ b/src/Endpoint/GetExecutionWorkflowJobCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionWorkflowJobCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetExecutionWorkflowJobCollection extends \Gyroscops\Api\Runtime\Client\Ba * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJobExecutionWorkflowJobRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobExecutionWorkflowJobRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetExecutionWorkflowJobItem.php b/src/Endpoint/GetExecutionWorkflowJobItem.php index 626440d0..509f965d 100644 --- a/src/Endpoint/GetExecutionWorkflowJobItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetExecutionWorkflowJobItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld|\Gyroscops\Api\Model\ExecutionWorkflowJob + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead|\Gyroscops\Api\Model\ExecutionWorkflowJobExecutionWorkflowJobRead * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobExecutionWorkflowJobRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetForgotPassword.php b/src/Endpoint/GetForgotPassword.php index 0ce783f2..715a04d2 100644 --- a/src/Endpoint/GetForgotPassword.php +++ b/src/Endpoint/GetForgotPassword.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetForgotPassword extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException @@ -52,7 +44,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re { $status = $response->getStatusCode(); $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (404 === $status) { @@ -63,6 +55,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetOnPremiseRequestCollection.php b/src/Endpoint/GetOnPremiseRequestCollection.php index 9e2b8529..2f898f7b 100644 --- a/src/Endpoint/GetOnPremiseRequestCollection.php +++ b/src/Endpoint/GetOnPremiseRequestCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetOnPremiseRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetOnPremiseRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEn * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetLdjsonResponse200|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetOnPremiseRequestItem.php b/src/Endpoint/GetOnPremiseRequestItem.php index c54d48dc..ef3add52 100644 --- a/src/Endpoint/GetOnPremiseRequestItem.php +++ b/src/Endpoint/GetOnPremiseRequestItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetOnPremiseRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead * * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetOrganizationCollection.php b/src/Endpoint/GetOrganizationCollection.php index 4f8772fb..d5001332 100644 --- a/src/Endpoint/GetOrganizationCollection.php +++ b/src/Endpoint/GetOrganizationCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetOrganizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetOrganizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoi * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationOrganizationsGetLdjsonResponse200|\Gyroscops\Api\Model\Organization[] + * @return \Gyroscops\Api\Model\AuthenticationOrganizationsGetLdjsonResponse200|\Gyroscops\Api\Model\OrganizationOrganizationRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetOrganizationItem.php b/src/Endpoint/GetOrganizationItem.php index 01511ee2..abaf75fd 100644 --- a/src/Endpoint/GetOrganizationItem.php +++ b/src/Endpoint/GetOrganizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead * * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetPipelineCollection.php b/src/Endpoint/GetPipelineCollection.php index b6b467a2..39be892b 100644 --- a/src/Endpoint/GetPipelineCollection.php +++ b/src/Endpoint/GetPipelineCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,10 +14,10 @@ class GetPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint i * * @param array $queryParameters { * - * @var int $page The collection page number - * @var string $code - * @var array $code[] - * } + * @var int $page The collection page number + * @var string $code + * @var array $code[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -71,9 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimePipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineRead[] + * @return \Gyroscops\Api\Model\RuntimePipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelinePipelineReadPipelineSubresourceRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -82,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelinePipelineReadPipelineSubresourceRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -94,6 +86,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetPipelineItem.php b/src/Endpoint/GetPipelineItem.php index 8fecd0de..df925884 100644 --- a/src/Endpoint/GetPipelineItem.php +++ b/src/Endpoint/GetPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineJsonldRead|\Gyroscops\Api\Model\PipelineRead + * @return \Gyroscops\Api\Model\PipelineJsonldPipelineReadPipelineSubresourceRead|\Gyroscops\Api\Model\PipelinePipelineReadPipelineSubresourceRead * * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelinePipelineReadPipelineSubresourceRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetPipelineStepCollection.php b/src/Endpoint/GetPipelineStepCollection.php index de045d62..2a444dba 100644 --- a/src/Endpoint/GetPipelineStepCollection.php +++ b/src/Endpoint/GetPipelineStepCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetPipelineStepCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetPipelineStepCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoi * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimePipelineStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStep[] + * @return \Gyroscops\Api\Model\RuntimePipelineStepsGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepStepRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepStepRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetPipelineStepItem.php b/src/Endpoint/GetPipelineStepItem.php index 4651141f..c9057d8a 100644 --- a/src/Endpoint/GetPipelineStepItem.php +++ b/src/Endpoint/GetPipelineStepItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetPipelineStepItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineStepJsonld|\Gyroscops\Api\Model\PipelineStep + * @return \Gyroscops\Api\Model\PipelineStepJsonldStepRead|\Gyroscops\Api\Model\PipelineStepStepRead * * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepJsonldStepRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepStepRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetPipelineStepProbeCollection.php b/src/Endpoint/GetPipelineStepProbeCollection.php index 76799cd8..dca7da55 100644 --- a/src/Endpoint/GetPipelineStepProbeCollection.php +++ b/src/Endpoint/GetPipelineStepProbeCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetPipelineStepProbeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetPipelineStepProbeCollection extends \Gyroscops\Api\Runtime\Client\BaseE * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimePipelineStepProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbe[] + * @return \Gyroscops\Api\Model\RuntimePipelineStepProbesGetLdjsonResponse200|\Gyroscops\Api\Model\PipelineStepProbeStepProbeRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbeStepProbeRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetPipelineStepProbeItem.php b/src/Endpoint/GetPipelineStepProbeItem.php index 064f76bf..391a0660 100644 --- a/src/Endpoint/GetPipelineStepProbeItem.php +++ b/src/Endpoint/GetPipelineStepProbeItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetPipelineStepProbeItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineStepProbeJsonld|\Gyroscops\Api\Model\PipelineStepProbe + * @return \Gyroscops\Api\Model\PipelineStepProbeJsonldStepProbeRead|\Gyroscops\Api\Model\PipelineStepProbeStepProbeRead * * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonldStepProbeRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbeStepProbeRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetPipelineStepWorkflowJobItem.php b/src/Endpoint/GetPipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..243a7722 --- /dev/null +++ b/src/Endpoint/GetPipelineStepWorkflowJobItem.php @@ -0,0 +1,80 @@ +code = $code; + $this->id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/{code}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobJsonldJobRead|\Gyroscops\Api\Model\WorkflowJobJobRead + * + * @throws \Gyroscops\Api\Exception\GetPipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobJobRead', 'json'); + } + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetPipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/GetReferralCodeCollection.php b/src/Endpoint/GetReferralCodeCollection.php index 12686b67..a0bb4143 100644 --- a/src/Endpoint/GetReferralCodeCollection.php +++ b/src/Endpoint/GetReferralCodeCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetReferralCodeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetReferralCodeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoi * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralCodesGetLdjsonResponse200|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetReferralCodeItem.php b/src/Endpoint/GetReferralCodeItem.php index 833039c0..a5028cdd 100644 --- a/src/Endpoint/GetReferralCodeItem.php +++ b/src/Endpoint/GetReferralCodeItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetReferralCodeItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/referral/code/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/codes/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead * * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetReferralRequestCollection.php b/src/Endpoint/GetReferralRequestCollection.php index af094a89..00ca7e7d 100644 --- a/src/Endpoint/GetReferralRequestCollection.php +++ b/src/Endpoint/GetReferralRequestCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetReferralRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetReferralRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEnd * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralRequestsGetLdjsonResponse200|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetReferralRequestItem.php b/src/Endpoint/GetReferralRequestItem.php index 39147a3c..a798f77f 100644 --- a/src/Endpoint/GetReferralRequestItem.php +++ b/src/Endpoint/GetReferralRequestItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetReferralRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/referral-requests/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead * * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetScheduleCollection.php b/src/Endpoint/GetScheduleCollection.php index d12b606f..9fa7d4b7 100644 --- a/src/Endpoint/GetScheduleCollection.php +++ b/src/Endpoint/GetScheduleCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,10 @@ class GetScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint i * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $pipeline + * @var array $pipeline[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -58,18 +54,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'pipeline']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('pipeline', ['string']); + $optionsResolver->addAllowedTypes('pipeline', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeSchedulesGetLdjsonResponse200|null + * @return \Gyroscops\Api\Model\RuntimeSchedulesGetLdjsonResponse200|\Gyroscops\Api\Model\ScheduleScheduleRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return json_decode($body); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleScheduleRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +86,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetScheduleItem.php b/src/Endpoint/GetScheduleItem.php index 927afd91..2ce461d9 100644 --- a/src/Endpoint/GetScheduleItem.php +++ b/src/Endpoint/GetScheduleItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetScheduleItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ScheduleJsonld|null + * @return \Gyroscops\Api\Model\ScheduleJsonldScheduleRead|\Gyroscops\Api\Model\ScheduleScheduleRead * * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleJsonldScheduleRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return json_decode($body); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleScheduleRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetSecretCollection.php b/src/Endpoint/GetSecretCollection.php index ff7bff57..bc15be8c 100644 --- a/src/Endpoint/GetSecretCollection.php +++ b/src/Endpoint/GetSecretCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint imp * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentSecretsGetLdjsonResponse200|\Gyroscops\Api\Model\Secret[] + * @return \Gyroscops\Api\Model\EnvironmentSecretsGetLdjsonResponse200|\Gyroscops\Api\Model\SecretSecretRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretSecretRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetSecretItem.php b/src/Endpoint/GetSecretItem.php index 3c57d88d..a05286d1 100644 --- a/src/Endpoint/GetSecretItem.php +++ b/src/Endpoint/GetSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret + * @return \Gyroscops\Api\Model\SecretJsonldSecretRead|\Gyroscops\Api\Model\SecretSecretRead * * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretSecretRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetSubscriptionCollection.php b/src/Endpoint/GetSubscriptionCollection.php index 5335c50e..82d820b8 100644 --- a/src/Endpoint/GetSubscriptionCollection.php +++ b/src/Endpoint/GetSubscriptionCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetSubscriptionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetSubscriptionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoi * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AuthenticationSubscriptionsGetLdjsonResponse200|\Gyroscops\Api\Model\Subscription[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetSubscriptionItem.php b/src/Endpoint/GetSubscriptionItem.php index 4a1134e0..511cffe0 100644 --- a/src/Endpoint/GetSubscriptionItem.php +++ b/src/Endpoint/GetSubscriptionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetSubscriptionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription * * @throws \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetSubscriptionOfferCollection.php b/src/Endpoint/GetSubscriptionOfferCollection.php index 36905667..3a14bfd9 100644 --- a/src/Endpoint/GetSubscriptionOfferCollection.php +++ b/src/Endpoint/GetSubscriptionOfferCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetSubscriptionOfferCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetSubscriptionOfferCollection extends \Gyroscops\Api\Runtime\Client\BaseE * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,8 +61,6 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AuthenticationSubscriptionOffersGetLdjsonResponse200|\Gyroscops\Api\Model\SubscriptionOfferRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -78,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferRead[]', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetSubscriptionOfferItem.php b/src/Endpoint/GetSubscriptionOfferItem.php index 2cce9733..4d10be35 100644 --- a/src/Endpoint/GetSubscriptionOfferItem.php +++ b/src/Endpoint/GetSubscriptionOfferItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetSubscriptionOfferItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,8 +47,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead * * @throws \Gyroscops\Api\Exception\GetSubscriptionOfferItemNotFoundException @@ -65,10 +57,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferRead', 'json'); } } @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetTemplateCollection.php b/src/Endpoint/GetTemplateCollection.php new file mode 100644 index 00000000..1b4e8c96 --- /dev/null +++ b/src/Endpoint/GetTemplateCollection.php @@ -0,0 +1,99 @@ +queryParameters = $queryParameters; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/runtime/templates'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page', 'code', 'label', 'description']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('code', ['string']); + $optionsResolver->addAllowedTypes('code', ['array']); + $optionsResolver->addAllowedTypes('label', ['string']); + $optionsResolver->addAllowedTypes('label', ['array']); + $optionsResolver->addAllowedTypes('description', ['string']); + $optionsResolver->addAllowedTypes('description', ['array']); + + return $optionsResolver; + } + + /** + * @return \Gyroscops\Api\Model\RuntimeTemplatesGetLdjsonResponse200|\Gyroscops\Api\Model\TemplateTemplateList[] + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\TemplateTemplateList[]', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/GetTemplateItem.php b/src/Endpoint/GetTemplateItem.php new file mode 100644 index 00000000..f95e0bfe --- /dev/null +++ b/src/Endpoint/GetTemplateItem.php @@ -0,0 +1,77 @@ +id = $id; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/templates/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\TemplateJsonldTemplateView|\Gyroscops\Api\Model\TemplateTemplateView + * + * @throws \Gyroscops\Api\Exception\GetTemplateItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateView', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\TemplateTemplateView', 'json'); + } + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetTemplateItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/GetUserAuthorizationCollection.php b/src/Endpoint/GetUserAuthorizationCollection.php index df508032..6aae16a0 100644 --- a/src/Endpoint/GetUserAuthorizationCollection.php +++ b/src/Endpoint/GetUserAuthorizationCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetUserAuthorizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetUserAuthorizationCollection extends \Gyroscops\Api\Runtime\Client\BaseE * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetLdjsonResponse200|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetUserAuthorizationItem.php b/src/Endpoint/GetUserAuthorizationItem.php index fb79dbaa..22150e13 100644 --- a/src/Endpoint/GetUserAuthorizationItem.php +++ b/src/Endpoint/GetUserAuthorizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorizations/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationRead|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead * * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetUserCollection.php b/src/Endpoint/GetUserCollection.php index 72120e32..4d30b08a 100644 --- a/src/Endpoint/GetUserCollection.php +++ b/src/Endpoint/GetUserCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,10 @@ class GetUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint imple * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -58,18 +54,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'organization']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationUsersGetLdjsonResponse200|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\AuthenticationUsersGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +86,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetUserItem.php b/src/Endpoint/GetUserItem.php index 85df5d10..b344a035 100644 --- a/src/Endpoint/GetUserItem.php +++ b/src/Endpoint/GetUserItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\UserJsonldUserRead|\Gyroscops\Api\Model\UserUserRead * * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonldUserRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetVariableFromConfigurationItem.php b/src/Endpoint/GetVariableFromConfigurationItem.php index c6bef1cc..ee7e9e05 100644 --- a/src/Endpoint/GetVariableFromConfigurationItem.php +++ b/src/Endpoint/GetVariableFromConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetVariableFromConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead|\Gyroscops\Api\Model\VariableFromConfigurationRead + * @return \Gyroscops\Api\Model\VariableFromConfigurationJsonldVariableViewEnvironmentView|\Gyroscops\Api\Model\VariableFromConfigurationVariableViewEnvironmentView * * @throws \Gyroscops\Api\Exception\GetVariableFromConfigurationItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldVariableViewEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigurationVariableViewEnvironmentView', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetVariableFromConstantItem.php b/src/Endpoint/GetVariableFromConstantItem.php index 278c0759..7afaccfd 100644 --- a/src/Endpoint/GetVariableFromConstantItem.php +++ b/src/Endpoint/GetVariableFromConstantItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetVariableFromConstantItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/variables-from-constant/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variables-from-constant/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\VariableFromConstantJsonldRead|\Gyroscops\Api\Model\VariableFromConstantRead + * @return \Gyroscops\Api\Model\VariableFromConstantJsonldVariableViewEnvironmentView|\Gyroscops\Api\Model\VariableFromConstantVariableViewEnvironmentView * * @throws \Gyroscops\Api\Exception\GetVariableFromConstantItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableViewEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConstantVariableViewEnvironmentView', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetVariableFromSecretItem.php b/src/Endpoint/GetVariableFromSecretItem.php index a185eab9..eb279aa3 100644 --- a/src/Endpoint/GetVariableFromSecretItem.php +++ b/src/Endpoint/GetVariableFromSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetVariableFromSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/variables-from-secret/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variables-from-secret/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\VariableFromSecretJsonldRead|\Gyroscops\Api\Model\VariableFromSecretRead + * @return \Gyroscops\Api\Model\VariableFromSecretJsonldVariableViewEnvironmentView|\Gyroscops\Api\Model\VariableFromSecretVariableViewEnvironmentView * * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableViewEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecretVariableViewEnvironmentView', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkflowCollection.php b/src/Endpoint/GetWorkflowCollection.php index d048f896..f5f066c0 100644 --- a/src/Endpoint/GetWorkflowCollection.php +++ b/src/Endpoint/GetWorkflowCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkflowCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,10 @@ class GetWorkflowCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint i * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $code + * @var array $code[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -58,18 +54,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'code']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('code', ['string']); + $optionsResolver->addAllowedTypes('code', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowRead[] + * @return \Gyroscops\Api\Model\RuntimeWorkflowsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowWorkflowRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowWorkflowRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +86,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkflowItem.php b/src/Endpoint/GetWorkflowItem.php index d71bf6c3..7ae1eded 100644 --- a/src/Endpoint/GetWorkflowItem.php +++ b/src/Endpoint/GetWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowJsonldRead|\Gyroscops\Api\Model\WorkflowRead + * @return \Gyroscops\Api\Model\WorkflowJsonldWorkflowRead|\Gyroscops\Api\Model\WorkflowWorkflowRead * * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJsonldWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowWorkflowRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkflowJobActionCollection.php b/src/Endpoint/GetWorkflowJobActionCollection.php new file mode 100644 index 00000000..119db7b4 --- /dev/null +++ b/src/Endpoint/GetWorkflowJobActionCollection.php @@ -0,0 +1,87 @@ +queryParameters = $queryParameters; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/runtime/workflows/actions'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->addAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * @return \Gyroscops\Api\Model\RuntimeWorkflowsActionsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobActionActionRead[] + * + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobActionActionRead[]', 'json'); + } + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/GetWorkflowJobActionItem.php b/src/Endpoint/GetWorkflowJobActionItem.php index 46e547c8..1a558c98 100644 --- a/src/Endpoint/GetWorkflowJobActionItem.php +++ b/src/Endpoint/GetWorkflowJobActionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkflowJobActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/workflows/workflow-job-actions/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflows/actions/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowJobActionJsonld|\Gyroscops\Api\Model\WorkflowJobAction + * @return \Gyroscops\Api\Model\WorkflowJobActionJsonldActionRead|\Gyroscops\Api\Model\WorkflowJobActionActionRead * * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldActionRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAction', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobActionActionRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkflowJobItem.php b/src/Endpoint/GetWorkflowJobItem.php index e2480cef..e134e54a 100644 --- a/src/Endpoint/GetWorkflowJobItem.php +++ b/src/Endpoint/GetWorkflowJobItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkflowJobItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowJobJsonldRead|\Gyroscops\Api\Model\WorkflowJobRead + * @return \Gyroscops\Api\Model\WorkflowJobJsonldJobRead|\Gyroscops\Api\Model\WorkflowJobJobRead * * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldJobRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobJobRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkflowJobPipelineCollection.php b/src/Endpoint/GetWorkflowJobPipelineCollection.php index dbbb14d8..fdf1cc40 100644 --- a/src/Endpoint/GetWorkflowJobPipelineCollection.php +++ b/src/Endpoint/GetWorkflowJobPipelineCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkflowJobPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,8 @@ class GetWorkflowJobPipelineCollection extends \Gyroscops\Api\Runtime\Client\Bas * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -67,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobPipeline[] + * @return \Gyroscops\Api\Model\RuntimeWorkflowsPipelinesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobPipelinePipelineRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +70,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipeline[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipelinePipelineRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkflowJobPipelineItem.php b/src/Endpoint/GetWorkflowJobPipelineItem.php index bc6a536e..53e0b0b9 100644 --- a/src/Endpoint/GetWorkflowJobPipelineItem.php +++ b/src/Endpoint/GetWorkflowJobPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkflowJobPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowJobPipelineJsonld|\Gyroscops\Api\Model\WorkflowJobPipeline + * @return \Gyroscops\Api\Model\WorkflowJobPipelineJsonldPipelineRead|\Gyroscops\Api\Model\WorkflowJobPipelinePipelineRead * * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldPipelineRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipeline', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipelinePipelineRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkspaceCollection.php b/src/Endpoint/GetWorkspaceCollection.php index 0e39eaa6..bc47661a 100644 --- a/src/Endpoint/GetWorkspaceCollection.php +++ b/src/Endpoint/GetWorkspaceCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkspaceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -20,8 +14,10 @@ class GetWorkspaceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint * * @param array $queryParameters { * - * @var int $page The collection page number - * } + * @var int $page The collection page number + * @var string $organization + * @var array $organization[] + * } * * @param array $accept Accept content header application/ld+json|application/json|text/html */ @@ -58,18 +54,18 @@ public function getExtraHeaders(): array protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page']); + $optionsResolver->setDefined(['page', 'organization']); $optionsResolver->setRequired([]); $optionsResolver->setDefaults(['page' => 1]); $optionsResolver->addAllowedTypes('page', ['int']); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); return $optionsResolver; } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\Workspace[] + * @return \Gyroscops\Api\Model\AuthenticationWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkspaceWorkspaceRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -78,11 +74,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -90,6 +86,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/GetWorkspaceItem.php b/src/Endpoint/GetWorkspaceItem.php index 977c6f2c..16a6107a 100644 --- a/src/Endpoint/GetWorkspaceItem.php +++ b/src/Endpoint/GetWorkspaceItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class GetWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceRead|\Gyroscops\Api\Model\WorkspaceWorkspaceRead * * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -65,11 +57,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead', 'json'); } } if (404 === $status) { @@ -80,6 +72,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/InterruptExecutionExecutionWorkflowItem.php b/src/Endpoint/InterruptExecutionExecutionWorkflowItem.php index 6e192fa8..eb9aa6e5 100644 --- a/src/Endpoint/InterruptExecutionExecutionWorkflowItem.php +++ b/src/Endpoint/InterruptExecutionExecutionWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class InterruptExecutionExecutionWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld|\Gyroscops\Api\Model\ExecutionWorkflowInterruptWorkflowExecutionCommand + * @return \Gyroscops\Api\Model\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead|null * * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionWorkflowItemBadRequestException * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionWorkflowItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommand', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/MeUserCollection.php b/src/Endpoint/MeUserCollection.php index 17bc2de3..857aa48f 100644 --- a/src/Endpoint/MeUserCollection.php +++ b/src/Endpoint/MeUserCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class MeUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,10 +12,17 @@ class MeUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implem /** * Get the current user. * + * @param array $queryParameters { + * + * @var string $organization + * @var array $organization[] + * } + * * @param array $accept Accept content header application/ld+json|application/json|text/html */ - public function __construct(array $accept = []) + public function __construct(array $queryParameters = [], array $accept = []) { + $this->queryParameters = $queryParameters; $this->accept = $accept; } @@ -49,10 +50,20 @@ public function getExtraHeaders(): array return $this->accept; } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['organization']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults([]); + $optionsResolver->addAllowedTypes('organization', ['string']); + $optionsResolver->addAllowedTypes('organization', ['array']); + + return $optionsResolver; + } + /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\AuthenticationMeGetLdjsonResponse200|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\AuthenticationMeGetLdjsonResponse200|\Gyroscops\Api\Model\UserUserRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -61,11 +72,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -73,6 +84,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/MoveAfterPipelineStepPipelineItem.php b/src/Endpoint/MoveAfterPipelineStepPipelineItem.php index 467ba7b5..7b7a2648 100644 --- a/src/Endpoint/MoveAfterPipelineStepPipelineItem.php +++ b/src/Endpoint/MoveAfterPipelineStepPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class MoveAfterPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class MoveAfterPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\Ba /** * 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineMoveAfterPipelineStepCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/MoveAfterPipelineStepWorkflowJobItem.php b/src/Endpoint/MoveAfterPipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..68337b86 --- /dev/null +++ b/src/Endpoint/MoveAfterPipelineStepWorkflowJobItem.php @@ -0,0 +1,100 @@ +code = $code; + $this->id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/{code}/move-after'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead|null + * + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepWorkflowJobItemBadRequestException + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepWorkflowJobItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (202 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepWorkflowJobItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepWorkflowJobItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/MoveBeforePipelineStepPipelineItem.php b/src/Endpoint/MoveBeforePipelineStepPipelineItem.php index 35636b61..2040d71c 100644 --- a/src/Endpoint/MoveBeforePipelineStepPipelineItem.php +++ b/src/Endpoint/MoveBeforePipelineStepPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class MoveBeforePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class MoveBeforePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\B /** * 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineMoveBeforePipelineStepCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/MoveBeforePipelineStepWorkflowJobItem.php b/src/Endpoint/MoveBeforePipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..5de3feaa --- /dev/null +++ b/src/Endpoint/MoveBeforePipelineStepWorkflowJobItem.php @@ -0,0 +1,100 @@ +code = $code; + $this->id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/{code}/move-before'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead|null + * + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepWorkflowJobItemBadRequestException + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepWorkflowJobItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (202 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepWorkflowJobItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepWorkflowJobItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/PatchOrganizationItem.php b/src/Endpoint/PatchOrganizationItem.php index 2e419004..5c573586 100644 --- a/src/Endpoint/PatchOrganizationItem.php +++ b/src/Endpoint/PatchOrganizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PatchOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,7 +16,7 @@ class PatchOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint i * @param string $id Resource identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ - public function __construct(string $id, ?\Gyroscops\Api\Model\Organization $requestBody = null, array $accept = []) + public function __construct(string $id, ?\Gyroscops\Api\Model\OrganizationOrganizationWrite $requestBody = null, array $accept = []) { $this->id = $id; $this->body = $requestBody; @@ -41,7 +35,7 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\Organization) { + if ($this->body instanceof \Gyroscops\Api\Model\OrganizationOrganizationWrite) { return [['Content-Type' => ['application/merge-patch+json']], $serializer->serialize($this->body, 'json')]; } @@ -58,9 +52,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead * * @throws \Gyroscops\Api\Exception\PatchOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemUnprocessableEntityException @@ -72,11 +64,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PatchSubscriptionItem.php b/src/Endpoint/PatchSubscriptionItem.php index c85d306d..d2cf4c40 100644 --- a/src/Endpoint/PatchSubscriptionItem.php +++ b/src/Endpoint/PatchSubscriptionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PatchSubscriptionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -58,8 +52,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription * * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException @@ -72,10 +64,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PatchSubscriptionOfferItem.php b/src/Endpoint/PatchSubscriptionOfferItem.php index ca2cd589..468e8e2a 100644 --- a/src/Endpoint/PatchSubscriptionOfferItem.php +++ b/src/Endpoint/PatchSubscriptionOfferItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PatchSubscriptionOfferItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -58,8 +52,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead * * @throws \Gyroscops\Api\Exception\PatchSubscriptionOfferItemBadRequestException @@ -72,10 +64,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferRead', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PatchUserAuthorizationItem.php b/src/Endpoint/PatchUserAuthorizationItem.php index a7b1932c..29ab56a4 100644 --- a/src/Endpoint/PatchUserAuthorizationItem.php +++ b/src/Endpoint/PatchUserAuthorizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PatchUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,7 +16,7 @@ class PatchUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpo * @param string $id Resource identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ - public function __construct(string $id, ?\Gyroscops\Api\Model\UserAuthorization $requestBody = null, array $accept = []) + public function __construct(string $id, ?\Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite $requestBody = null, array $accept = []) { $this->id = $id; $this->body = $requestBody; @@ -36,12 +30,12 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorizations/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { + if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite) { return [['Content-Type' => ['application/merge-patch+json']], $serializer->serialize($this->body, 'json')]; } @@ -58,9 +52,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationRead|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead * * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemUnprocessableEntityException @@ -72,11 +64,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PatchUserItem.php b/src/Endpoint/PatchUserItem.php index 887e259d..17912bcb 100644 --- a/src/Endpoint/PatchUserItem.php +++ b/src/Endpoint/PatchUserItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PatchUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,7 +16,7 @@ class PatchUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implement * @param string $id Resource identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ - public function __construct(string $id, ?\Gyroscops\Api\Model\User $requestBody = null, array $accept = []) + public function __construct(string $id, ?\Gyroscops\Api\Model\UserUserWrite $requestBody = null, array $accept = []) { $this->id = $id; $this->body = $requestBody; @@ -41,7 +35,7 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\User) { + if ($this->body instanceof \Gyroscops\Api\Model\UserUserWrite) { return [['Content-Type' => ['application/merge-patch+json']], $serializer->serialize($this->body, 'json')]; } @@ -58,9 +52,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\UserJsonldUserRead|\Gyroscops\Api\Model\UserUserRead * * @throws \Gyroscops\Api\Exception\PatchUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserItemUnprocessableEntityException @@ -72,11 +64,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonldUserRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PatchWorkspaceItem.php b/src/Endpoint/PatchWorkspaceItem.php index 36969b30..870e7470 100644 --- a/src/Endpoint/PatchWorkspaceItem.php +++ b/src/Endpoint/PatchWorkspaceItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PatchWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -22,7 +16,7 @@ class PatchWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint impl * @param string $id Resource identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ - public function __construct(string $id, ?\Gyroscops\Api\Model\Workspace $requestBody = null, array $accept = []) + public function __construct(string $id, ?\Gyroscops\Api\Model\WorkspaceWorkspaceWrite $requestBody = null, array $accept = []) { $this->id = $id; $this->body = $requestBody; @@ -41,7 +35,7 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { + if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceWorkspaceWrite) { return [['Content-Type' => ['application/merge-patch+json']], $serializer->serialize($this->body, 'json')]; } @@ -58,9 +52,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceRead|\Gyroscops\Api\Model\WorkspaceWorkspaceRead * * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemUnprocessableEntityException @@ -72,11 +64,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PipelineCompilationPipelineItem.php b/src/Endpoint/PipelineCompilationPipelineItem.php index d02b93c1..bd6aed99 100644 --- a/src/Endpoint/PipelineCompilationPipelineItem.php +++ b/src/Endpoint/PipelineCompilationPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PipelineCompilationPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PipelineCompilationPipelineItem extends \Gyroscops\Api\Runtime\Client\Base /** * Launches a pipeline compilation. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\stdClass|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,7 +36,7 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \stdClass) { @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PipelineScheduleImmediatePipelineItem.php b/src/Endpoint/PipelineScheduleImmediatePipelineItem.php index fe23abe9..e7d25ce1 100644 --- a/src/Endpoint/PipelineScheduleImmediatePipelineItem.php +++ b/src/Endpoint/PipelineScheduleImmediatePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PipelineScheduleImmediatePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PipelineScheduleImmediatePipelineItem extends \Gyroscops\Api\Runtime\Clien /** * Schedule a pipeline for immediate execution. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineDeclarePipelineScheduleImmediateCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\PipelineScheduleImmediatePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\PipelineScheduleImmediatePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PipelineScheduleOncePipelineItem.php b/src/Endpoint/PipelineScheduleOncePipelineItem.php index b7217b3c..2dd5e55b 100644 --- a/src/Endpoint/PipelineScheduleOncePipelineItem.php +++ b/src/Endpoint/PipelineScheduleOncePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PipelineScheduleOncePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PipelineScheduleOncePipelineItem extends \Gyroscops\Api\Runtime\Client\Bas /** * Schedule a pipeline to a specific date. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineDeclarePipelineScheduleOnceCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\PipelineScheduleOncePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\PipelineScheduleOncePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostAkeneoInstanceCollection.php b/src/Endpoint/PostAkeneoInstanceCollection.php index e0e3487e..5d7837bb 100644 --- a/src/Endpoint/PostAkeneoInstanceCollection.php +++ b/src/Endpoint/PostAkeneoInstanceCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostAkeneoInstanceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AkeneoInstanceJsonld|\Gyroscops\Api\Model\AkeneoInstance * * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostAkeneoLinkedAccountCollection.php b/src/Endpoint/PostAkeneoLinkedAccountCollection.php index 7083e407..59426c93 100644 --- a/src/Endpoint/PostAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/PostAkeneoLinkedAccountCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostAkeneoLinkedAccountCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -34,7 +28,7 @@ public function getMethod(): string public function getUri(): string { - return '/gateway/akeneo/linked-account'; + return '/gateway/akeneo/linked-accounts'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccount * * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostAkeneoOauthTokenCollection.php b/src/Endpoint/PostAkeneoOauthTokenCollection.php index cb88cee1..08404301 100644 --- a/src/Endpoint/PostAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PostAkeneoOauthTokenCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostAkeneoOauthTokenCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateOutputJsonldRead|null * * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostConfigurationCollection.php b/src/Endpoint/PostConfigurationCollection.php index ccfcb030..65fd35f9 100644 --- a/src/Endpoint/PostConfigurationCollection.php +++ b/src/Endpoint/PostConfigurationCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostConfigurationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class PostConfigurationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndp /** * Creates a Configuration resource. * - * @param \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld|\Gyroscops\Api\Model\ConfigurationCreateConfigurationInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonldConfigurationCreate|\Gyroscops\Api\Model\ConfigurationCreateConfigurationInputConfigurationCreate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonldConfigurationCreate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputConfigurationCreate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputConfigurationCreate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration + * @return \Gyroscops\Api\Model\ConfigurationJsonldConfigurationView|\Gyroscops\Api\Model\ConfigurationConfigurationView * * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionUnprocessableEntityException @@ -75,11 +67,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Configuration', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostCredentialsItem.php b/src/Endpoint/PostCredentialsItem.php index 7dc63a7a..8d06dd41 100644 --- a/src/Endpoint/PostCredentialsItem.php +++ b/src/Endpoint/PostCredentialsItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostCredentialsItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -44,8 +38,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\Token * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -54,7 +46,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re { $status = $response->getStatusCode(); $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Token', 'json'); } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -62,6 +54,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostEnvironmentCollection.php b/src/Endpoint/PostEnvironmentCollection.php index 93e1389b..87068356 100644 --- a/src/Endpoint/PostEnvironmentCollection.php +++ b/src/Endpoint/PostEnvironmentCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class PostEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoi /** * Creates a Environment resource. * - * @param \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld|\Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate|\Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputEnvironmentCreate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputEnvironmentCreate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputEnvironmentCreate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentJsonldRead|\Gyroscops\Api\Model\EnvironmentRead + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView * * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException @@ -75,11 +67,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostForgotPassword.php b/src/Endpoint/PostForgotPassword.php index 3dd8ac5f..5dea0f5c 100644 --- a/src/Endpoint/PostForgotPassword.php +++ b/src/Endpoint/PostForgotPassword.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostForgotPassword extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -39,8 +33,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\PostForgotPasswordBadRequestException @@ -61,6 +53,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostForgotPasswordToken.php b/src/Endpoint/PostForgotPasswordToken.php index d4808c9f..635f2a4d 100644 --- a/src/Endpoint/PostForgotPasswordToken.php +++ b/src/Endpoint/PostForgotPasswordToken.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostForgotPasswordToken extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -41,8 +35,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenBadRequestException @@ -67,6 +59,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostOnPremiseRequestCollection.php b/src/Endpoint/PostOnPremiseRequestCollection.php index 398be3c2..ea3bdf47 100644 --- a/src/Endpoint/PostOnPremiseRequestCollection.php +++ b/src/Endpoint/PostOnPremiseRequestCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostOnPremiseRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead * * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostOrganizationCollection.php b/src/Endpoint/PostOrganizationCollection.php index f66d1e87..f361b836 100644 --- a/src/Endpoint/PostOrganizationCollection.php +++ b/src/Endpoint/PostOrganizationCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostOrganizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class PostOrganizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpo /** * Creates a Organization resource. * - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\OrganizationJsonldOrganizationWrite|\Gyroscops\Api\Model\OrganizationOrganizationWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonldOrganizationWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Organization) { + if ($this->body instanceof \Gyroscops\Api\Model\OrganizationOrganizationWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Organization) { + if ($this->body instanceof \Gyroscops\Api\Model\OrganizationOrganizationWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead * * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException @@ -75,11 +67,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostReferralCodeCollection.php b/src/Endpoint/PostReferralCodeCollection.php index e86d41b0..7eb6d9a2 100644 --- a/src/Endpoint/PostReferralCodeCollection.php +++ b/src/Endpoint/PostReferralCodeCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostReferralCodeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead * * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostReferralRequestCollection.php b/src/Endpoint/PostReferralRequestCollection.php index 0d4d711b..176f3621 100644 --- a/src/Endpoint/PostReferralRequestCollection.php +++ b/src/Endpoint/PostReferralRequestCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostReferralRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead * * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostSecretCollection.php b/src/Endpoint/PostSecretCollection.php index 2bb638d8..7f444f9d 100644 --- a/src/Endpoint/PostSecretCollection.php +++ b/src/Endpoint/PostSecretCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class PostSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint im /** * Creates a Secret resource. * - * @param \Gyroscops\Api\Model\SecretCreateSecretInputJsonld|\Gyroscops\Api\Model\SecretCreateSecretInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\SecretCreateSecretInputJsonldSecretCreate|\Gyroscops\Api\Model\SecretCreateSecretInputSecretCreate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInputJsonldSecretCreate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInputSecretCreate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInputSecretCreate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret + * @return \Gyroscops\Api\Model\SecretJsonldSecretRead|\Gyroscops\Api\Model\SecretSecretRead * * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException @@ -75,11 +67,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretSecretRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostSubscriptionCollection.php b/src/Endpoint/PostSubscriptionCollection.php index 626c10d0..25472e85 100644 --- a/src/Endpoint/PostSubscriptionCollection.php +++ b/src/Endpoint/PostSubscriptionCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostSubscriptionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription * * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostTemplateCollection.php b/src/Endpoint/PostTemplateCollection.php new file mode 100644 index 00000000..09594314 --- /dev/null +++ b/src/Endpoint/PostTemplateCollection.php @@ -0,0 +1,90 @@ +body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/runtime/templates'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\TemplateDeclareSatelliteTemplateInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\TemplateDeclareSatelliteTemplateInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\TemplateDeclareSatelliteTemplateInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\TemplateJsonldTemplateCreate|\Gyroscops\Api\Model\TemplateTemplateCreate + * + * @throws \Gyroscops\Api\Exception\PostTemplateCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostTemplateCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (201 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateCreate', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\TemplateTemplateCreate', 'json'); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostTemplateCollectionBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostTemplateCollectionUnprocessableEntityException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/PostUserAuthorizationCollection.php b/src/Endpoint/PostUserAuthorizationCollection.php index 81268880..b7d06ada 100644 --- a/src/Endpoint/PostUserAuthorizationCollection.php +++ b/src/Endpoint/PostUserAuthorizationCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostUserAuthorizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class PostUserAuthorizationCollection extends \Gyroscops\Api\Runtime\Client\Base /** * Creates a UserAuthorization resource. * - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationWrite|\Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { + if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { + if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationRead|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead * * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException @@ -75,11 +67,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostUserCollection.php b/src/Endpoint/PostUserCollection.php index eba6b1e1..0b8cb082 100644 --- a/src/Endpoint/PostUserCollection.php +++ b/src/Endpoint/PostUserCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class PostUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint impl /** * Creates a User resource. * - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\UserJsonldUserWrite|\Gyroscops\Api\Model\UserUserWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\UserJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\UserJsonldUserWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\User) { + if ($this->body instanceof \Gyroscops\Api\Model\UserUserWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\User) { + if ($this->body instanceof \Gyroscops\Api\Model\UserUserWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\UserJsonldUserRead|\Gyroscops\Api\Model\UserUserRead * * @throws \Gyroscops\Api\Exception\PostUserCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException @@ -75,11 +67,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonldUserRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PostWorkspaceCollection.php b/src/Endpoint/PostWorkspaceCollection.php index 31f6def3..4c2676f1 100644 --- a/src/Endpoint/PostWorkspaceCollection.php +++ b/src/Endpoint/PostWorkspaceCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PostWorkspaceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -18,8 +12,8 @@ class PostWorkspaceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint /** * Creates a Workspace resource. * - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceWrite|\Gyroscops\Api\Model\WorkspaceWorkspaceWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct($requestBody = null, array $accept = []) { @@ -39,13 +33,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { + if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceWorkspaceWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { + if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceWorkspaceWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,9 +56,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceRead|\Gyroscops\Api\Model\WorkspaceWorkspaceRead * * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException @@ -75,11 +67,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (201 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead', 'json'); } } if (400 === $status) { @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php index d0dc6a6b..a0d68169 100644 --- a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutAkeneoOauthTokenAkeneoOauthTokenCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -42,10 +36,10 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria if ($this->body instanceof \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if (is_array($this->body) and isset($this->body[0]) and $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { + if (\is_array($this->body) && isset($this->body[0]) && $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if (is_array($this->body) and isset($this->body[0]) and $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { + if (\is_array($this->body) && isset($this->body[0]) && $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -62,8 +56,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutLdjsonResponse200|null * * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException @@ -75,10 +67,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -93,6 +85,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutAuthenticationToken.php b/src/Endpoint/PutAuthenticationToken.php index b4c7d329..15d40ef5 100644 --- a/src/Endpoint/PutAuthenticationToken.php +++ b/src/Endpoint/PutAuthenticationToken.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutAuthenticationToken extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -44,8 +38,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException @@ -54,7 +46,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re { $status = $response->getStatusCode(); $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -62,6 +54,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutExternalCollaboratorsOrganizationItem.php b/src/Endpoint/PutExternalCollaboratorsOrganizationItem.php index 5cdb7745..d2978c3a 100644 --- a/src/Endpoint/PutExternalCollaboratorsOrganizationItem.php +++ b/src/Endpoint/PutExternalCollaboratorsOrganizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutExternalCollaboratorsOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PutExternalCollaboratorsOrganizationItem extends \Gyroscops\Api\Runtime\Cl /** * Replaces the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonldAddCollaborators|\Gyroscops\Api\Model\OrganizationAddCollaborators|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OrganizationJsonldAddCollaborators|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -37,7 +31,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/authentication/authentication/organizations/{id}/external-collaborators'); + return str_replace(['{id}'], [$this->id], '/authentication/organizations/{id}/external-collaborators'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -45,10 +39,10 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonldAddCollaborators) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\OrganizationAddCollaborators) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\OrganizationAddCollaborators) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead * * @throws \Gyroscops\Api\Exception\PutExternalCollaboratorsOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutExternalCollaboratorsOrganizationItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutOrganizationItem.php b/src/Endpoint/PutOrganizationItem.php index 22b64c42..3bfb95be 100644 --- a/src/Endpoint/PutOrganizationItem.php +++ b/src/Endpoint/PutOrganizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PutOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint imp /** * Replaces the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OrganizationJsonldOrganizationWrite|\Gyroscops\Api\Model\OrganizationOrganizationWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\OrganizationJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonldOrganizationWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Organization) { + if ($this->body instanceof \Gyroscops\Api\Model\OrganizationOrganizationWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Organization) { + if ($this->body instanceof \Gyroscops\Api\Model\OrganizationOrganizationWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead|\Gyroscops\Api\Model\OrganizationOrganizationRead * * @throws \Gyroscops\Api\Exception\PutOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutOrganizationItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutSubscriptionItem.php b/src/Endpoint/PutSubscriptionItem.php index 127b01ae..ec866ac1 100644 --- a/src/Endpoint/PutSubscriptionItem.php +++ b/src/Endpoint/PutSubscriptionItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutSubscriptionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,8 +59,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription * * @throws \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutSubscriptionOfferItem.php b/src/Endpoint/PutSubscriptionOfferItem.php index 7bee0595..5532996d 100644 --- a/src/Endpoint/PutSubscriptionOfferItem.php +++ b/src/Endpoint/PutSubscriptionOfferItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutSubscriptionOfferItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,8 +59,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\SubscriptionOfferJsonldRead|\Gyroscops\Api\Model\SubscriptionOfferRead * * @throws \Gyroscops\Api\Exception\PutSubscriptionOfferItemBadRequestException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOfferRead', 'json'); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutTemplateItem.php b/src/Endpoint/PutTemplateItem.php new file mode 100644 index 00000000..649c7e44 --- /dev/null +++ b/src/Endpoint/PutTemplateItem.php @@ -0,0 +1,97 @@ +id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/templates/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\TemplateJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Template) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Template) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\TemplateJsonldTemplateUpdate|null + * + * @throws \Gyroscops\Api\Exception\PutTemplateItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutTemplateItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutTemplateItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (200 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateUpdate', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PutTemplateItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PutTemplateItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PutTemplateItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/PutUserAuthorizationItem.php b/src/Endpoint/PutUserAuthorizationItem.php index cd1480b7..0e383eff 100644 --- a/src/Endpoint/PutUserAuthorizationItem.php +++ b/src/Endpoint/PutUserAuthorizationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PutUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoin /** * Replaces the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationWrite|\Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -37,18 +31,18 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorizations/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { + if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { + if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationRead|\Gyroscops\Api\Model\UserAuthorizationAuthorizationRead * * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutUserItem.php b/src/Endpoint/PutUserItem.php index 70c3838c..c33fd9b0 100644 --- a/src/Endpoint/PutUserItem.php +++ b/src/Endpoint/PutUserItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PutUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements /** * Replaces the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserJsonldUserWrite|\Gyroscops\Api\Model\UserUserWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\UserJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\UserJsonldUserWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\User) { + if ($this->body instanceof \Gyroscops\Api\Model\UserUserWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\User) { + if ($this->body instanceof \Gyroscops\Api\Model\UserUserWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\UserJsonldUserRead|\Gyroscops\Api\Model\UserUserRead * * @throws \Gyroscops\Api\Exception\PutUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserJsonldUserRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserUserRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/PutWorkspaceItem.php b/src/Endpoint/PutWorkspaceItem.php index a8452f4c..236d3bc4 100644 --- a/src/Endpoint/PutWorkspaceItem.php +++ b/src/Endpoint/PutWorkspaceItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class PutWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class PutWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implem /** * Replaces the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceWrite|\Gyroscops\Api\Model\WorkspaceWorkspaceWrite|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\WorkspaceJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { + if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceWorkspaceWrite) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { + if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceWorkspaceWrite) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceRead|\Gyroscops\Api\Model\WorkspaceWorkspaceRead * * @throws \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RejectReferralRequestReferralRequestItem.php b/src/Endpoint/RejectReferralRequestReferralRequestItem.php index 5ed8fdd7..e087ca99 100644 --- a/src/Endpoint/RejectReferralRequestReferralRequestItem.php +++ b/src/Endpoint/RejectReferralRequestReferralRequestItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RejectReferralRequestReferralRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -37,7 +31,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}/reject'); + return str_replace(['{id}'], [$this->id], '/referral/referral-requests/{id}/reject'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -55,8 +49,6 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * * @return \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead * * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemBadRequestException @@ -69,10 +61,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } } @@ -90,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RemoveComposerAuthPipelinePipelineItem.php b/src/Endpoint/RemoveComposerAuthPipelinePipelineItem.php index 767c228b..c94c1b4a 100644 --- a/src/Endpoint/RemoveComposerAuthPipelinePipelineItem.php +++ b/src/Endpoint/RemoveComposerAuthPipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RemoveComposerAuthPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class RemoveComposerAuthPipelinePipelineItem extends \Gyroscops\Api\Runtime\Clie /** * Removes a composer auth from a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineRemovePipelineComposerAuthCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RemoveComposerAutoloadPipelinePipelineItem.php b/src/Endpoint/RemoveComposerAutoloadPipelinePipelineItem.php index bb2bdc65..143bc48d 100644 --- a/src/Endpoint/RemoveComposerAutoloadPipelinePipelineItem.php +++ b/src/Endpoint/RemoveComposerAutoloadPipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RemoveComposerAutoloadPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class RemoveComposerAutoloadPipelinePipelineItem extends \Gyroscops\Api\Runtime\ /** * Removes PSR4 autoload composer from a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RemoveComposerPackagePipelinePipelineItem.php b/src/Endpoint/RemoveComposerPackagePipelinePipelineItem.php index 4503d311..8fd08471 100644 --- a/src/Endpoint/RemoveComposerPackagePipelinePipelineItem.php +++ b/src/Endpoint/RemoveComposerPackagePipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RemoveComposerPackagePipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class RemoveComposerPackagePipelinePipelineItem extends \Gyroscops\Api\Runtime\C /** * Removes a composer package from a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineRemovePipelineComposerPackageCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RemoveComposerRepositoryPipelinePipelineItem.php b/src/Endpoint/RemoveComposerRepositoryPipelinePipelineItem.php index 0d47e108..6b71bc04 100644 --- a/src/Endpoint/RemoveComposerRepositoryPipelinePipelineItem.php +++ b/src/Endpoint/RemoveComposerRepositoryPipelinePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RemoveComposerRepositoryPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class RemoveComposerRepositoryPipelinePipelineItem extends \Gyroscops\Api\Runtim /** * Adds a repository from a pipeline. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineRemovePipelineComposerRepositoryCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RemovePipelineStepProbePipelineItem.php b/src/Endpoint/RemovePipelineStepProbePipelineItem.php index 872eec5a..53893448 100644 --- a/src/Endpoint/RemovePipelineStepProbePipelineItem.php +++ b/src/Endpoint/RemovePipelineStepProbePipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RemovePipelineStepProbePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -47,8 +41,6 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria } /** - * {@inheritdoc} - * * @return null * * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException @@ -69,6 +61,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RemoveValuesConfigurationItem.php b/src/Endpoint/RemoveValuesConfigurationItem.php index d26eca10..9049fbc2 100644 --- a/src/Endpoint/RemoveValuesConfigurationItem.php +++ b/src/Endpoint/RemoveValuesConfigurationItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RemoveValuesConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class RemoveValuesConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEn /** * 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Configuration identifier + * @param \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate|\Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputConfigurationUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\ConfigurationRemoveConfigurationValueInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputConfigurationUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputConfigurationUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ConfigurationJsonld|\Gyroscops\Api\Model\Configuration + * @return \Gyroscops\Api\Model\ConfigurationJsonldConfigurationView|\Gyroscops\Api\Model\ConfigurationConfigurationView * * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemBadRequestException * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Configuration', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/RemoveValuesSecretItem.php b/src/Endpoint/RemoveValuesSecretItem.php index e81e7abf..ac8b889c 100644 --- a/src/Endpoint/RemoveValuesSecretItem.php +++ b/src/Endpoint/RemoveValuesSecretItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class RemoveValuesSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class RemoveValuesSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint /** * Remove some secret values inside an existing secrets storage. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonld|\Gyroscops\Api\Model\SecretRemoveSecretValueInput|null $requestBody - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Secret identifier + * @param \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonldSecretUpdate|\Gyroscops\Api\Model\SecretRemoveSecretValueInputSecretUpdate|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\SecretRemoveSecretValueInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonldSecretUpdate) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInputSecretUpdate) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInputSecretUpdate) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\SecretJsonld|\Gyroscops\Api\Model\Secret + * @return \Gyroscops\Api\Model\SecretJsonldSecretRead|\Gyroscops\Api\Model\SecretSecretRead * * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemBadRequestException * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (200 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SecretSecretRead', 'json'); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ReorderPipelineStepsPipelineItem.php b/src/Endpoint/ReorderPipelineStepsPipelineItem.php index 0af699d4..406d661a 100644 --- a/src/Endpoint/ReorderPipelineStepsPipelineItem.php +++ b/src/Endpoint/ReorderPipelineStepsPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ReorderPipelineStepsPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class ReorderPipelineStepsPipelineItem extends \Gyroscops\Api\Runtime\Client\Bas /** * 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 - * @param array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -42,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\PipelineReorderPipelineStepsCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ReorderPipelineStepsWorkflowJobItem.php b/src/Endpoint/ReorderPipelineStepsWorkflowJobItem.php new file mode 100644 index 00000000..6f52e168 --- /dev/null +++ b/src/Endpoint/ReorderPipelineStepsWorkflowJobItem.php @@ -0,0 +1,97 @@ +id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/reorder'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobReorderWorkflowPipelineStepsCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobReorderWorkflowPipelineStepsCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead|null + * + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsWorkflowJobItemBadRequestException + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsWorkflowJobItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (202 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\ReorderPipelineStepsWorkflowJobItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\ReorderPipelineStepsWorkflowJobItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\ReorderPipelineStepsWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ReplacePipelineStepPipelineItem.php b/src/Endpoint/ReplacePipelineStepPipelineItem.php index 44cb23b4..fb6bc018 100644 --- a/src/Endpoint/ReplacePipelineStepPipelineItem.php +++ b/src/Endpoint/ReplacePipelineStepPipelineItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ReplacePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -19,9 +13,9 @@ class ReplacePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\Base /** * 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 array $accept Accept content header application/ld+json|application/json|text/html + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonldPipelineWrite|\stdClass|null $requestBody + * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, $requestBody = null, array $accept = []) { @@ -37,18 +31,18 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/pipelines/{id}/steps/{code}/replace'); + return str_replace(['{id}'], [$this->id], '/runtime/pipelines/{id}/steps/{code}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonldPipelineWrite) { return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandJsonldRead|null + * @return \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead|null * * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemBadRequestException * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/ReplacePipelineStepWorkflowJobItem.php b/src/Endpoint/ReplacePipelineStepWorkflowJobItem.php new file mode 100644 index 00000000..31e20e02 --- /dev/null +++ b/src/Endpoint/ReplacePipelineStepWorkflowJobItem.php @@ -0,0 +1,100 @@ +code = $code; + $this->id = $id; + $this->body = $requestBody; + $this->accept = $accept; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/workflows/jobs/{id}/pipelines/steps/{code}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobReplaceWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\WorkflowJobReplaceWorkflowPipelineStepCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + if (empty($this->accept)) { + return ['Accept' => ['application/ld+json', 'application/json']]; + } + + return $this->accept; + } + + /** + * @return \Gyroscops\Api\Model\WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead|null + * + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepWorkflowJobItemBadRequestException + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepWorkflowJobItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepWorkflowJobItemNotFoundException + * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException + */ + protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + $status = $response->getStatusCode(); + $body = (string) $response->getBody(); + if (202 === $status) { + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead', 'json'); + } + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); + } + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\ReplacePipelineStepWorkflowJobItemBadRequestException($response); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\ReplacePipelineStepWorkflowJobItemUnprocessableEntityException($response); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\ReplacePipelineStepWorkflowJobItemNotFoundException($response); + } + throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); + } + + public function getAuthenticationScopes(): array + { + return ['JWT']; + } +} diff --git a/src/Endpoint/ResumeExecutionExecutionWorkflowItem.php b/src/Endpoint/ResumeExecutionExecutionWorkflowItem.php index 504692cd..d06923e3 100644 --- a/src/Endpoint/ResumeExecutionExecutionWorkflowItem.php +++ b/src/Endpoint/ResumeExecutionExecutionWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class ResumeExecutionExecutionWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowResumeWorkflowExecutionCommandJsonld|\Gyroscops\Api\Model\ExecutionWorkflowResumeWorkflowExecutionCommand + * @return \Gyroscops\Api\Model\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead|null * * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionWorkflowItemBadRequestException * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionWorkflowItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommand', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/SoftDeleteWorkflowItem.php b/src/Endpoint/SoftDeleteWorkflowItem.php index f7020fc1..a1db6832 100644 --- a/src/Endpoint/SoftDeleteWorkflowItem.php +++ b/src/Endpoint/SoftDeleteWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class SoftDeleteWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -17,7 +11,7 @@ class SoftDeleteWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint protected $accept; /** - * Replaces the Workflow resource. + * Deletes a workflow softly. * * @param string $id Resource identifier * @param \Gyroscops\Api\Model\WorkflowRemoveWorkflowCommandInputJsonld|\stdClass|null $requestBody @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowRemoveWorkflowCommandJsonldRead|null + * @return \Gyroscops\Api\Model\WorkflowRemoveWorkflowCommandJsonldWorkflowRead|null * * @throws \Gyroscops\Api\Exception\SoftDeleteWorkflowItemBadRequestException * @throws \Gyroscops\Api\Exception\SoftDeleteWorkflowItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/TerminateExecutionExecutionWorkflowItem.php b/src/Endpoint/TerminateExecutionExecutionWorkflowItem.php index c5928fd1..16a0971a 100644 --- a/src/Endpoint/TerminateExecutionExecutionWorkflowItem.php +++ b/src/Endpoint/TerminateExecutionExecutionWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class TerminateExecutionExecutionWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld|\Gyroscops\Api\Model\ExecutionWorkflowTerminateWorkflowExecutionCommand + * @return \Gyroscops\Api\Model\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead|null * * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionWorkflowItemBadRequestException * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionWorkflowItemUnprocessableEntityException @@ -79,11 +71,11 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommand', 'json'); + if (false !== mb_strpos($contentType, 'application/json')) { + return json_decode($body); } } if (400 === $status) { @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/WorkflowCompilationWorkflowItem.php b/src/Endpoint/WorkflowCompilationWorkflowItem.php index 67bc6bb8..e986a1b9 100644 --- a/src/Endpoint/WorkflowCompilationWorkflowItem.php +++ b/src/Endpoint/WorkflowCompilationWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class WorkflowCompilationWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowCompileWorkflowCommandJsonldRead|null + * @return \Gyroscops\Api\Model\WorkflowCompileWorkflowCommandJsonldWorkflowRead|null * * @throws \Gyroscops\Api\Exception\WorkflowCompilationWorkflowItemBadRequestException * @throws \Gyroscops\Api\Exception\WorkflowCompilationWorkflowItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandJsonldWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/WorkflowScheduleCrontabWorkflowItem.php b/src/Endpoint/WorkflowScheduleCrontabWorkflowItem.php index 22581103..8c5f8c46 100644 --- a/src/Endpoint/WorkflowScheduleCrontabWorkflowItem.php +++ b/src/Endpoint/WorkflowScheduleCrontabWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class WorkflowScheduleCrontabWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead|null + * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead|null * * @throws \Gyroscops\Api\Exception\WorkflowScheduleCrontabWorkflowItemBadRequestException * @throws \Gyroscops\Api\Exception\WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Endpoint/WorkflowScheduleImmediateWorkflowItem.php b/src/Endpoint/WorkflowScheduleImmediateWorkflowItem.php index ee0d4e8e..af321d73 100644 --- a/src/Endpoint/WorkflowScheduleImmediateWorkflowItem.php +++ b/src/Endpoint/WorkflowScheduleImmediateWorkflowItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; class WorkflowScheduleImmediateWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint @@ -65,9 +59,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead|null + * @return \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead|null * * @throws \Gyroscops\Api\Exception\WorkflowScheduleImmediateWorkflowItemBadRequestException * @throws \Gyroscops\Api\Exception\WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException @@ -79,10 +71,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (202 === $status) { - if (mb_strpos($contentType, 'application/ld+json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { + if (false !== mb_strpos($contentType, 'application/json')) { return json_decode($body); } } @@ -100,6 +92,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + return ['JWT']; } } diff --git a/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php b/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php index 67490f25..234870c4 100644 --- a/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php +++ b/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AcceptReferralRequestReferralRequestItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AcceptReferralRequestReferralRequestItemBadRequestException extends BadReq */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php b/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php index 61ae50ee..bde15518 100644 --- a/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php +++ b/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AcceptReferralRequestReferralRequestItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AcceptReferralRequestReferralRequestItemNotFoundException extends NotFound */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php b/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php index 0051f039..32ba4038 100644 --- a/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php +++ b/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AcceptReferralRequestReferralRequestItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AcceptReferralRequestReferralRequestItemUnprocessableEntityException exten */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddAfterPipelineStepPipelineItemBadRequestException.php b/src/Exception/AddAfterPipelineStepPipelineItemBadRequestException.php index ac2f3018..bac35442 100644 --- a/src/Exception/AddAfterPipelineStepPipelineItemBadRequestException.php +++ b/src/Exception/AddAfterPipelineStepPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddAfterPipelineStepPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddAfterPipelineStepPipelineItemBadRequestException extends BadRequestExce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddAfterPipelineStepPipelineItemNotFoundException.php b/src/Exception/AddAfterPipelineStepPipelineItemNotFoundException.php index 7fa5f4f4..8ee16480 100644 --- a/src/Exception/AddAfterPipelineStepPipelineItemNotFoundException.php +++ b/src/Exception/AddAfterPipelineStepPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddAfterPipelineStepPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddAfterPipelineStepPipelineItemNotFoundException extends NotFoundExceptio */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddAfterPipelineStepPipelineItemUnprocessableEntityException.php b/src/Exception/AddAfterPipelineStepPipelineItemUnprocessableEntityException.php index 52ea0d80..e4c97408 100644 --- a/src/Exception/AddAfterPipelineStepPipelineItemUnprocessableEntityException.php +++ b/src/Exception/AddAfterPipelineStepPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddAfterPipelineStepPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddAfterPipelineStepPipelineItemUnprocessableEntityException extends Unpro */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddAfterPipelineStepWorkflowJobItemBadRequestException.php b/src/Exception/AddAfterPipelineStepWorkflowJobItemBadRequestException.php new file mode 100644 index 00000000..231965e9 --- /dev/null +++ b/src/Exception/AddAfterPipelineStepWorkflowJobItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AddAfterPipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/AddAfterPipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..eab62939 --- /dev/null +++ b/src/Exception/AddAfterPipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AddAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php b/src/Exception/AddAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php new file mode 100644 index 00000000..45f7fc79 --- /dev/null +++ b/src/Exception/AddAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AddBeforePipelineStepPipelineItemBadRequestException.php b/src/Exception/AddBeforePipelineStepPipelineItemBadRequestException.php index 91cd5d4f..1f2d7bed 100644 --- a/src/Exception/AddBeforePipelineStepPipelineItemBadRequestException.php +++ b/src/Exception/AddBeforePipelineStepPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddBeforePipelineStepPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddBeforePipelineStepPipelineItemBadRequestException extends BadRequestExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddBeforePipelineStepPipelineItemNotFoundException.php b/src/Exception/AddBeforePipelineStepPipelineItemNotFoundException.php index 2296329a..adfde508 100644 --- a/src/Exception/AddBeforePipelineStepPipelineItemNotFoundException.php +++ b/src/Exception/AddBeforePipelineStepPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddBeforePipelineStepPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddBeforePipelineStepPipelineItemNotFoundException extends NotFoundExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddBeforePipelineStepPipelineItemUnprocessableEntityException.php b/src/Exception/AddBeforePipelineStepPipelineItemUnprocessableEntityException.php index a93d19a3..605398b7 100644 --- a/src/Exception/AddBeforePipelineStepPipelineItemUnprocessableEntityException.php +++ b/src/Exception/AddBeforePipelineStepPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddBeforePipelineStepPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddBeforePipelineStepPipelineItemUnprocessableEntityException extends Unpr */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddBeforePipelineStepWorkflowJobItemBadRequestException.php b/src/Exception/AddBeforePipelineStepWorkflowJobItemBadRequestException.php new file mode 100644 index 00000000..e224f8a1 --- /dev/null +++ b/src/Exception/AddBeforePipelineStepWorkflowJobItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AddBeforePipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/AddBeforePipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..1724474b --- /dev/null +++ b/src/Exception/AddBeforePipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AddBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php b/src/Exception/AddBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php new file mode 100644 index 00000000..21636ac1 --- /dev/null +++ b/src/Exception/AddBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AddComposerAuthPipelinePipelineItemBadRequestException.php b/src/Exception/AddComposerAuthPipelinePipelineItemBadRequestException.php index 9bc503ca..24330e1f 100644 --- a/src/Exception/AddComposerAuthPipelinePipelineItemBadRequestException.php +++ b/src/Exception/AddComposerAuthPipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerAuthPipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddComposerAuthPipelinePipelineItemBadRequestException extends BadRequestE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddComposerAuthPipelinePipelineItemNotFoundException.php b/src/Exception/AddComposerAuthPipelinePipelineItemNotFoundException.php index 2027b06e..74174efa 100644 --- a/src/Exception/AddComposerAuthPipelinePipelineItemNotFoundException.php +++ b/src/Exception/AddComposerAuthPipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerAuthPipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddComposerAuthPipelinePipelineItemNotFoundException extends NotFoundExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddComposerAuthPipelinePipelineItemUnprocessableEntityException.php b/src/Exception/AddComposerAuthPipelinePipelineItemUnprocessableEntityException.php index eb62c620..5c0d2711 100644 --- a/src/Exception/AddComposerAuthPipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/AddComposerAuthPipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerAuthPipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddComposerAuthPipelinePipelineItemUnprocessableEntityException extends Un */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddComposerAutoloadPipelinePipelineItemBadRequestException.php b/src/Exception/AddComposerAutoloadPipelinePipelineItemBadRequestException.php index 68e2e736..3a0d6ee7 100644 --- a/src/Exception/AddComposerAutoloadPipelinePipelineItemBadRequestException.php +++ b/src/Exception/AddComposerAutoloadPipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerAutoloadPipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddComposerAutoloadPipelinePipelineItemBadRequestException extends BadRequ */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddComposerAutoloadPipelinePipelineItemNotFoundException.php b/src/Exception/AddComposerAutoloadPipelinePipelineItemNotFoundException.php index 464e74d9..882288b6 100644 --- a/src/Exception/AddComposerAutoloadPipelinePipelineItemNotFoundException.php +++ b/src/Exception/AddComposerAutoloadPipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerAutoloadPipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddComposerAutoloadPipelinePipelineItemNotFoundException extends NotFoundE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php b/src/Exception/AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php index 5927a82e..d21bc535 100644 --- a/src/Exception/AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException extend */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddComposerPackagePipelinePipelineItemBadRequestException.php b/src/Exception/AddComposerPackagePipelinePipelineItemBadRequestException.php index dd36cbb1..72904355 100644 --- a/src/Exception/AddComposerPackagePipelinePipelineItemBadRequestException.php +++ b/src/Exception/AddComposerPackagePipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerPackagePipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddComposerPackagePipelinePipelineItemBadRequestException extends BadReque */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddComposerPackagePipelinePipelineItemNotFoundException.php b/src/Exception/AddComposerPackagePipelinePipelineItemNotFoundException.php index f3ebc7f5..9ff59001 100644 --- a/src/Exception/AddComposerPackagePipelinePipelineItemNotFoundException.php +++ b/src/Exception/AddComposerPackagePipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerPackagePipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddComposerPackagePipelinePipelineItemNotFoundException extends NotFoundEx */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddComposerPackagePipelinePipelineItemUnprocessableEntityException.php b/src/Exception/AddComposerPackagePipelinePipelineItemUnprocessableEntityException.php index 9e4d9960..ceebf6b2 100644 --- a/src/Exception/AddComposerPackagePipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/AddComposerPackagePipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerPackagePipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddComposerPackagePipelinePipelineItemUnprocessableEntityException extends */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddComposerRepositoryPipelinePipelineItemBadRequestException.php b/src/Exception/AddComposerRepositoryPipelinePipelineItemBadRequestException.php index 04acef53..a5ff489a 100644 --- a/src/Exception/AddComposerRepositoryPipelinePipelineItemBadRequestException.php +++ b/src/Exception/AddComposerRepositoryPipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerRepositoryPipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddComposerRepositoryPipelinePipelineItemBadRequestException extends BadRe */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddComposerRepositoryPipelinePipelineItemNotFoundException.php b/src/Exception/AddComposerRepositoryPipelinePipelineItemNotFoundException.php index edecbd18..31bd402f 100644 --- a/src/Exception/AddComposerRepositoryPipelinePipelineItemNotFoundException.php +++ b/src/Exception/AddComposerRepositoryPipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerRepositoryPipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddComposerRepositoryPipelinePipelineItemNotFoundException extends NotFoun */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php b/src/Exception/AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php index 84637fd9..aa526f7d 100644 --- a/src/Exception/AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException exte */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddPipelineStepProbePipelineItemBadRequestException.php b/src/Exception/AddPipelineStepProbePipelineItemBadRequestException.php index a23ebcef..4f5aa100 100644 --- a/src/Exception/AddPipelineStepProbePipelineItemBadRequestException.php +++ b/src/Exception/AddPipelineStepProbePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddPipelineStepProbePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddPipelineStepProbePipelineItemBadRequestException extends BadRequestExce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddPipelineStepProbePipelineItemNotFoundException.php b/src/Exception/AddPipelineStepProbePipelineItemNotFoundException.php index 6b343f98..3522a702 100644 --- a/src/Exception/AddPipelineStepProbePipelineItemNotFoundException.php +++ b/src/Exception/AddPipelineStepProbePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddPipelineStepProbePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddPipelineStepProbePipelineItemNotFoundException extends NotFoundExceptio */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddPipelineStepProbePipelineItemUnprocessableEntityException.php b/src/Exception/AddPipelineStepProbePipelineItemUnprocessableEntityException.php index ce256b27..d378c4e5 100644 --- a/src/Exception/AddPipelineStepProbePipelineItemUnprocessableEntityException.php +++ b/src/Exception/AddPipelineStepProbePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddPipelineStepProbePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddPipelineStepProbePipelineItemUnprocessableEntityException extends Unpro */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromConfigurationEnvironmentItemBadRequestException.php b/src/Exception/AddVariablesFromConfigurationEnvironmentItemBadRequestException.php index ace082ef..14ae9abe 100644 --- a/src/Exception/AddVariablesFromConfigurationEnvironmentItemBadRequestException.php +++ b/src/Exception/AddVariablesFromConfigurationEnvironmentItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromConfigurationEnvironmentItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddVariablesFromConfigurationEnvironmentItemBadRequestException extends Ba */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromConfigurationEnvironmentItemNotFoundException.php b/src/Exception/AddVariablesFromConfigurationEnvironmentItemNotFoundException.php index 37919207..57106eab 100644 --- a/src/Exception/AddVariablesFromConfigurationEnvironmentItemNotFoundException.php +++ b/src/Exception/AddVariablesFromConfigurationEnvironmentItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromConfigurationEnvironmentItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddVariablesFromConfigurationEnvironmentItemNotFoundException extends NotF */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException.php b/src/Exception/AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException.php index 1c729bd7..e0a64fd4 100644 --- a/src/Exception/AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException.php +++ b/src/Exception/AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException e */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromConstantEnvironmentItemBadRequestException.php b/src/Exception/AddVariablesFromConstantEnvironmentItemBadRequestException.php index cbb3f7ef..78b17967 100644 --- a/src/Exception/AddVariablesFromConstantEnvironmentItemBadRequestException.php +++ b/src/Exception/AddVariablesFromConstantEnvironmentItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromConstantEnvironmentItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddVariablesFromConstantEnvironmentItemBadRequestException extends BadRequ */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromConstantEnvironmentItemNotFoundException.php b/src/Exception/AddVariablesFromConstantEnvironmentItemNotFoundException.php index 5777aabf..29f9e57f 100644 --- a/src/Exception/AddVariablesFromConstantEnvironmentItemNotFoundException.php +++ b/src/Exception/AddVariablesFromConstantEnvironmentItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromConstantEnvironmentItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddVariablesFromConstantEnvironmentItemNotFoundException extends NotFoundE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromConstantEnvironmentItemUnprocessableEntityException.php b/src/Exception/AddVariablesFromConstantEnvironmentItemUnprocessableEntityException.php index a8899d66..0e02d11d 100644 --- a/src/Exception/AddVariablesFromConstantEnvironmentItemUnprocessableEntityException.php +++ b/src/Exception/AddVariablesFromConstantEnvironmentItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromConstantEnvironmentItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddVariablesFromConstantEnvironmentItemUnprocessableEntityException extend */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromSecretEnvironmentItemBadRequestException.php b/src/Exception/AddVariablesFromSecretEnvironmentItemBadRequestException.php index a01d56ba..923489c4 100644 --- a/src/Exception/AddVariablesFromSecretEnvironmentItemBadRequestException.php +++ b/src/Exception/AddVariablesFromSecretEnvironmentItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromSecretEnvironmentItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AddVariablesFromSecretEnvironmentItemBadRequestException extends BadReques */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromSecretEnvironmentItemNotFoundException.php b/src/Exception/AddVariablesFromSecretEnvironmentItemNotFoundException.php index 55df6786..4c4da5ae 100644 --- a/src/Exception/AddVariablesFromSecretEnvironmentItemNotFoundException.php +++ b/src/Exception/AddVariablesFromSecretEnvironmentItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromSecretEnvironmentItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AddVariablesFromSecretEnvironmentItemNotFoundException extends NotFoundExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AddVariablesFromSecretEnvironmentItemUnprocessableEntityException.php b/src/Exception/AddVariablesFromSecretEnvironmentItemUnprocessableEntityException.php index b00287f6..3668a145 100644 --- a/src/Exception/AddVariablesFromSecretEnvironmentItemUnprocessableEntityException.php +++ b/src/Exception/AddVariablesFromSecretEnvironmentItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AddVariablesFromSecretEnvironmentItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AddVariablesFromSecretEnvironmentItemUnprocessableEntityException extends */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ApiException.php b/src/Exception/ApiException.php index c1efe575..0bfc5d65 100644 --- a/src/Exception/ApiException.php +++ b/src/Exception/ApiException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; interface ApiException extends \Throwable diff --git a/src/Exception/AppendPipelineStepPipelineItemBadRequestException.php b/src/Exception/AppendPipelineStepPipelineItemBadRequestException.php index 77a53ac0..7901cf0d 100644 --- a/src/Exception/AppendPipelineStepPipelineItemBadRequestException.php +++ b/src/Exception/AppendPipelineStepPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AppendPipelineStepPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class AppendPipelineStepPipelineItemBadRequestException extends BadRequestExcept */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/AppendPipelineStepPipelineItemNotFoundException.php b/src/Exception/AppendPipelineStepPipelineItemNotFoundException.php index c996cdcd..ce965653 100644 --- a/src/Exception/AppendPipelineStepPipelineItemNotFoundException.php +++ b/src/Exception/AppendPipelineStepPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AppendPipelineStepPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class AppendPipelineStepPipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/AppendPipelineStepPipelineItemUnprocessableEntityException.php b/src/Exception/AppendPipelineStepPipelineItemUnprocessableEntityException.php index c6199d2a..9051153a 100644 --- a/src/Exception/AppendPipelineStepPipelineItemUnprocessableEntityException.php +++ b/src/Exception/AppendPipelineStepPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class AppendPipelineStepPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class AppendPipelineStepPipelineItemUnprocessableEntityException extends Unproce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/AppendPipelineStepWorkflowJobItemBadRequestException.php b/src/Exception/AppendPipelineStepWorkflowJobItemBadRequestException.php new file mode 100644 index 00000000..9d2fc288 --- /dev/null +++ b/src/Exception/AppendPipelineStepWorkflowJobItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AppendPipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/AppendPipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..b423e15f --- /dev/null +++ b/src/Exception/AppendPipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/AppendPipelineStepWorkflowJobItemUnprocessableEntityException.php b/src/Exception/AppendPipelineStepWorkflowJobItemUnprocessableEntityException.php new file mode 100644 index 00000000..9589b402 --- /dev/null +++ b/src/Exception/AppendPipelineStepWorkflowJobItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/BadRequestException.php b/src/Exception/BadRequestException.php index 1da80f9d..c62ff761 100644 --- a/src/Exception/BadRequestException.php +++ b/src/Exception/BadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class BadRequestException extends \RuntimeException implements ClientException diff --git a/src/Exception/ChangePasswordUserItemBadRequestException.php b/src/Exception/ChangePasswordUserItemBadRequestException.php index 8b36162b..aef97c1d 100644 --- a/src/Exception/ChangePasswordUserItemBadRequestException.php +++ b/src/Exception/ChangePasswordUserItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangePasswordUserItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class ChangePasswordUserItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/ChangePasswordUserItemNotFoundException.php b/src/Exception/ChangePasswordUserItemNotFoundException.php index b8d0bf23..dfdfbac2 100644 --- a/src/Exception/ChangePasswordUserItemNotFoundException.php +++ b/src/Exception/ChangePasswordUserItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangePasswordUserItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class ChangePasswordUserItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/ChangePasswordUserItemUnprocessableEntityException.php b/src/Exception/ChangePasswordUserItemUnprocessableEntityException.php index b8b9c705..4bd632b2 100644 --- a/src/Exception/ChangePasswordUserItemUnprocessableEntityException.php +++ b/src/Exception/ChangePasswordUserItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangePasswordUserItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class ChangePasswordUserItemUnprocessableEntityException extends UnprocessableEn */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ChangeValuesConfigurationItemBadRequestException.php b/src/Exception/ChangeValuesConfigurationItemBadRequestException.php index 59f6afb8..912b30e6 100644 --- a/src/Exception/ChangeValuesConfigurationItemBadRequestException.php +++ b/src/Exception/ChangeValuesConfigurationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangeValuesConfigurationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class ChangeValuesConfigurationItemBadRequestException extends BadRequestExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/ChangeValuesConfigurationItemNotFoundException.php b/src/Exception/ChangeValuesConfigurationItemNotFoundException.php index c22bacae..8e03be57 100644 --- a/src/Exception/ChangeValuesConfigurationItemNotFoundException.php +++ b/src/Exception/ChangeValuesConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangeValuesConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class ChangeValuesConfigurationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/ChangeValuesConfigurationItemUnprocessableEntityException.php b/src/Exception/ChangeValuesConfigurationItemUnprocessableEntityException.php index 906026bc..4d2739dd 100644 --- a/src/Exception/ChangeValuesConfigurationItemUnprocessableEntityException.php +++ b/src/Exception/ChangeValuesConfigurationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangeValuesConfigurationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class ChangeValuesConfigurationItemUnprocessableEntityException extends Unproces */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ChangeValuesSecretItemBadRequestException.php b/src/Exception/ChangeValuesSecretItemBadRequestException.php index 2cc659ed..2f8ecd9c 100644 --- a/src/Exception/ChangeValuesSecretItemBadRequestException.php +++ b/src/Exception/ChangeValuesSecretItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangeValuesSecretItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class ChangeValuesSecretItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/ChangeValuesSecretItemNotFoundException.php b/src/Exception/ChangeValuesSecretItemNotFoundException.php index 3e84b9a3..99045e07 100644 --- a/src/Exception/ChangeValuesSecretItemNotFoundException.php +++ b/src/Exception/ChangeValuesSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangeValuesSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class ChangeValuesSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/ChangeValuesSecretItemUnprocessableEntityException.php b/src/Exception/ChangeValuesSecretItemUnprocessableEntityException.php index fd51473d..aa961933 100644 --- a/src/Exception/ChangeValuesSecretItemUnprocessableEntityException.php +++ b/src/Exception/ChangeValuesSecretItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ChangeValuesSecretItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class ChangeValuesSecretItemUnprocessableEntityException extends UnprocessableEn */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ClientException.php b/src/Exception/ClientException.php index 12966d6b..01a95943 100644 --- a/src/Exception/ClientException.php +++ b/src/Exception/ClientException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; interface ClientException extends ApiException diff --git a/src/Exception/DeclareExecutionExecutionCollectionBadRequestException.php b/src/Exception/DeclareExecutionExecutionCollectionBadRequestException.php index 757ef03c..717705a3 100644 --- a/src/Exception/DeclareExecutionExecutionCollectionBadRequestException.php +++ b/src/Exception/DeclareExecutionExecutionCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeclareExecutionExecutionCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class DeclareExecutionExecutionCollectionBadRequestException extends BadRequestE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/DeclareExecutionExecutionCollectionUnprocessableEntityException.php b/src/Exception/DeclareExecutionExecutionCollectionUnprocessableEntityException.php index 82ac2b00..69d4c7ad 100644 --- a/src/Exception/DeclareExecutionExecutionCollectionUnprocessableEntityException.php +++ b/src/Exception/DeclareExecutionExecutionCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeclareExecutionExecutionCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class DeclareExecutionExecutionCollectionUnprocessableEntityException extends Un */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/DeclarePipelinePipelineCollectionBadRequestException.php b/src/Exception/DeclarePipelinePipelineCollectionBadRequestException.php index 93039a92..7ed46322 100644 --- a/src/Exception/DeclarePipelinePipelineCollectionBadRequestException.php +++ b/src/Exception/DeclarePipelinePipelineCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeclarePipelinePipelineCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class DeclarePipelinePipelineCollectionBadRequestException extends BadRequestExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/DeclarePipelinePipelineCollectionUnprocessableEntityException.php b/src/Exception/DeclarePipelinePipelineCollectionUnprocessableEntityException.php index ea403570..978dc450 100644 --- a/src/Exception/DeclarePipelinePipelineCollectionUnprocessableEntityException.php +++ b/src/Exception/DeclarePipelinePipelineCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeclarePipelinePipelineCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class DeclarePipelinePipelineCollectionUnprocessableEntityException extends Unpr */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/DeclareWorkflowWorkflowCollectionBadRequestException.php b/src/Exception/DeclareWorkflowWorkflowCollectionBadRequestException.php index f0cb7c06..d0d0d914 100644 --- a/src/Exception/DeclareWorkflowWorkflowCollectionBadRequestException.php +++ b/src/Exception/DeclareWorkflowWorkflowCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeclareWorkflowWorkflowCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class DeclareWorkflowWorkflowCollectionBadRequestException extends BadRequestExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/DeclareWorkflowWorkflowCollectionUnprocessableEntityException.php b/src/Exception/DeclareWorkflowWorkflowCollectionUnprocessableEntityException.php index 616d93e9..a5356f22 100644 --- a/src/Exception/DeclareWorkflowWorkflowCollectionUnprocessableEntityException.php +++ b/src/Exception/DeclareWorkflowWorkflowCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeclareWorkflowWorkflowCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class DeclareWorkflowWorkflowCollectionUnprocessableEntityException extends Unpr */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/DeleteConfigurationItemNotFoundException.php b/src/Exception/DeleteConfigurationItemNotFoundException.php index 07c11952..f6945694 100644 --- a/src/Exception/DeleteConfigurationItemNotFoundException.php +++ b/src/Exception/DeleteConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteConfigurationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteEnvironmentItemNotFoundException.php b/src/Exception/DeleteEnvironmentItemNotFoundException.php index 2607d81e..35a1028e 100644 --- a/src/Exception/DeleteEnvironmentItemNotFoundException.php +++ b/src/Exception/DeleteEnvironmentItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteEnvironmentItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteEnvironmentItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteJobWorkflowJobItemNotFoundException.php b/src/Exception/DeleteJobWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..27e49743 --- /dev/null +++ b/src/Exception/DeleteJobWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/DeleteOrganizationItemNotFoundException.php b/src/Exception/DeleteOrganizationItemNotFoundException.php index 2c1bb809..31cdcb08 100644 --- a/src/Exception/DeleteOrganizationItemNotFoundException.php +++ b/src/Exception/DeleteOrganizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteOrganizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteOrganizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeletePipelinePipelineItemNotFoundException.php b/src/Exception/DeletePipelinePipelineItemNotFoundException.php index 3a9775fd..a49dc40c 100644 --- a/src/Exception/DeletePipelinePipelineItemNotFoundException.php +++ b/src/Exception/DeletePipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeletePipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeletePipelinePipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeletePipelineStepPipelineItemNotFoundException.php b/src/Exception/DeletePipelineStepPipelineItemNotFoundException.php index c362660a..eb524891 100644 --- a/src/Exception/DeletePipelineStepPipelineItemNotFoundException.php +++ b/src/Exception/DeletePipelineStepPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeletePipelineStepPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeletePipelineStepPipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeletePipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/DeletePipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..8ee4e19a --- /dev/null +++ b/src/Exception/DeletePipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/DeleteReferralCodeItemNotFoundException.php b/src/Exception/DeleteReferralCodeItemNotFoundException.php index b85ec7e2..7c1b4ebc 100644 --- a/src/Exception/DeleteReferralCodeItemNotFoundException.php +++ b/src/Exception/DeleteReferralCodeItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteReferralCodeItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteReferralCodeItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteSecretItemNotFoundException.php b/src/Exception/DeleteSecretItemNotFoundException.php index 63b99ef1..453fb942 100644 --- a/src/Exception/DeleteSecretItemNotFoundException.php +++ b/src/Exception/DeleteSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteSubscriptionItemNotFoundException.php b/src/Exception/DeleteSubscriptionItemNotFoundException.php index 28217a22..0a0c9f2d 100644 --- a/src/Exception/DeleteSubscriptionItemNotFoundException.php +++ b/src/Exception/DeleteSubscriptionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteSubscriptionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteSubscriptionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteSubscriptionOfferItemNotFoundException.php b/src/Exception/DeleteSubscriptionOfferItemNotFoundException.php index 26b6cc7e..f39096ae 100644 --- a/src/Exception/DeleteSubscriptionOfferItemNotFoundException.php +++ b/src/Exception/DeleteSubscriptionOfferItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteSubscriptionOfferItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteSubscriptionOfferItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteTemplateItemNotFoundException.php b/src/Exception/DeleteTemplateItemNotFoundException.php new file mode 100644 index 00000000..5817007c --- /dev/null +++ b/src/Exception/DeleteTemplateItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/DeleteUserAuthorizationItemNotFoundException.php b/src/Exception/DeleteUserAuthorizationItemNotFoundException.php index 38965a16..61d1be9a 100644 --- a/src/Exception/DeleteUserAuthorizationItemNotFoundException.php +++ b/src/Exception/DeleteUserAuthorizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteUserAuthorizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteUserAuthorizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteUserItemNotFoundException.php b/src/Exception/DeleteUserItemNotFoundException.php index 9a68b194..03e5a816 100644 --- a/src/Exception/DeleteUserItemNotFoundException.php +++ b/src/Exception/DeleteUserItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteUserItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteUserItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteVariableFromConfigurationItemNotFoundException.php b/src/Exception/DeleteVariableFromConfigurationItemNotFoundException.php index 0bb15885..3cc7f8e9 100644 --- a/src/Exception/DeleteVariableFromConfigurationItemNotFoundException.php +++ b/src/Exception/DeleteVariableFromConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteVariableFromConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteVariableFromConfigurationItemNotFoundException extends NotFoundExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteVariableFromConstantItemNotFoundException.php b/src/Exception/DeleteVariableFromConstantItemNotFoundException.php index 09e128f1..952a2c59 100644 --- a/src/Exception/DeleteVariableFromConstantItemNotFoundException.php +++ b/src/Exception/DeleteVariableFromConstantItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteVariableFromConstantItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteVariableFromConstantItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteVariableFromSecretItemNotFoundException.php b/src/Exception/DeleteVariableFromSecretItemNotFoundException.php index 22f67e15..59920ee6 100644 --- a/src/Exception/DeleteVariableFromSecretItemNotFoundException.php +++ b/src/Exception/DeleteVariableFromSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteVariableFromSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteVariableFromSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/DeleteWorkspaceItemNotFoundException.php b/src/Exception/DeleteWorkspaceItemNotFoundException.php index 6938a5e8..cec6c23e 100644 --- a/src/Exception/DeleteWorkspaceItemNotFoundException.php +++ b/src/Exception/DeleteWorkspaceItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class DeleteWorkspaceItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class DeleteWorkspaceItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/EditConfigurationItemBadRequestException.php b/src/Exception/EditConfigurationItemBadRequestException.php index bfea345b..65ef6262 100644 --- a/src/Exception/EditConfigurationItemBadRequestException.php +++ b/src/Exception/EditConfigurationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditConfigurationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class EditConfigurationItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/EditConfigurationItemNotFoundException.php b/src/Exception/EditConfigurationItemNotFoundException.php index 51cf525c..b882c858 100644 --- a/src/Exception/EditConfigurationItemNotFoundException.php +++ b/src/Exception/EditConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class EditConfigurationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/EditConfigurationItemUnprocessableEntityException.php b/src/Exception/EditConfigurationItemUnprocessableEntityException.php index a4a64fa2..08d509ce 100644 --- a/src/Exception/EditConfigurationItemUnprocessableEntityException.php +++ b/src/Exception/EditConfigurationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditConfigurationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class EditConfigurationItemUnprocessableEntityException extends UnprocessableEnt */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/EditEnvironmentItemBadRequestException.php b/src/Exception/EditEnvironmentItemBadRequestException.php index bcae5977..67fdc624 100644 --- a/src/Exception/EditEnvironmentItemBadRequestException.php +++ b/src/Exception/EditEnvironmentItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditEnvironmentItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class EditEnvironmentItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/EditEnvironmentItemNotFoundException.php b/src/Exception/EditEnvironmentItemNotFoundException.php index dfe58830..e136f042 100644 --- a/src/Exception/EditEnvironmentItemNotFoundException.php +++ b/src/Exception/EditEnvironmentItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditEnvironmentItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class EditEnvironmentItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/EditEnvironmentItemUnprocessableEntityException.php b/src/Exception/EditEnvironmentItemUnprocessableEntityException.php index 6d402040..5bf16bc6 100644 --- a/src/Exception/EditEnvironmentItemUnprocessableEntityException.php +++ b/src/Exception/EditEnvironmentItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditEnvironmentItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class EditEnvironmentItemUnprocessableEntityException extends UnprocessableEntit */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/EditSecretItemBadRequestException.php b/src/Exception/EditSecretItemBadRequestException.php index b2992493..1b3ef53c 100644 --- a/src/Exception/EditSecretItemBadRequestException.php +++ b/src/Exception/EditSecretItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditSecretItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class EditSecretItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/EditSecretItemNotFoundException.php b/src/Exception/EditSecretItemNotFoundException.php index f1be38f4..1f68daf7 100644 --- a/src/Exception/EditSecretItemNotFoundException.php +++ b/src/Exception/EditSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class EditSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/EditSecretItemUnprocessableEntityException.php b/src/Exception/EditSecretItemUnprocessableEntityException.php index b3e0e1a9..1938a4b0 100644 --- a/src/Exception/EditSecretItemUnprocessableEntityException.php +++ b/src/Exception/EditSecretItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditSecretItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class EditSecretItemUnprocessableEntityException extends UnprocessableEntityExce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/EditVariableFromConfigurationItemBadRequestException.php b/src/Exception/EditVariableFromConfigurationItemBadRequestException.php index f79f6422..821c9a73 100644 --- a/src/Exception/EditVariableFromConfigurationItemBadRequestException.php +++ b/src/Exception/EditVariableFromConfigurationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromConfigurationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class EditVariableFromConfigurationItemBadRequestException extends BadRequestExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/EditVariableFromConfigurationItemNotFoundException.php b/src/Exception/EditVariableFromConfigurationItemNotFoundException.php index f3412199..ba821f06 100644 --- a/src/Exception/EditVariableFromConfigurationItemNotFoundException.php +++ b/src/Exception/EditVariableFromConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class EditVariableFromConfigurationItemNotFoundException extends NotFoundExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/EditVariableFromConfigurationItemUnprocessableEntityException.php b/src/Exception/EditVariableFromConfigurationItemUnprocessableEntityException.php index 8ffec619..00cdbf6e 100644 --- a/src/Exception/EditVariableFromConfigurationItemUnprocessableEntityException.php +++ b/src/Exception/EditVariableFromConfigurationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromConfigurationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class EditVariableFromConfigurationItemUnprocessableEntityException extends Unpr */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/EditVariableFromConstantItemBadRequestException.php b/src/Exception/EditVariableFromConstantItemBadRequestException.php index 7f973b46..41a806a1 100644 --- a/src/Exception/EditVariableFromConstantItemBadRequestException.php +++ b/src/Exception/EditVariableFromConstantItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromConstantItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class EditVariableFromConstantItemBadRequestException extends BadRequestExceptio */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/EditVariableFromConstantItemNotFoundException.php b/src/Exception/EditVariableFromConstantItemNotFoundException.php index 10a0cd94..a1a55929 100644 --- a/src/Exception/EditVariableFromConstantItemNotFoundException.php +++ b/src/Exception/EditVariableFromConstantItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromConstantItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class EditVariableFromConstantItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/EditVariableFromConstantItemUnprocessableEntityException.php b/src/Exception/EditVariableFromConstantItemUnprocessableEntityException.php index 4671d1d9..107b55bd 100644 --- a/src/Exception/EditVariableFromConstantItemUnprocessableEntityException.php +++ b/src/Exception/EditVariableFromConstantItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromConstantItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class EditVariableFromConstantItemUnprocessableEntityException extends Unprocess */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/EditVariableFromSecretItemBadRequestException.php b/src/Exception/EditVariableFromSecretItemBadRequestException.php index d3c29eda..53ba7f75 100644 --- a/src/Exception/EditVariableFromSecretItemBadRequestException.php +++ b/src/Exception/EditVariableFromSecretItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromSecretItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class EditVariableFromSecretItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/EditVariableFromSecretItemNotFoundException.php b/src/Exception/EditVariableFromSecretItemNotFoundException.php index c8637dde..23c73f8d 100644 --- a/src/Exception/EditVariableFromSecretItemNotFoundException.php +++ b/src/Exception/EditVariableFromSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class EditVariableFromSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/EditVariableFromSecretItemUnprocessableEntityException.php b/src/Exception/EditVariableFromSecretItemUnprocessableEntityException.php index 0325c0de..37a26c5f 100644 --- a/src/Exception/EditVariableFromSecretItemUnprocessableEntityException.php +++ b/src/Exception/EditVariableFromSecretItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class EditVariableFromSecretItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class EditVariableFromSecretItemUnprocessableEntityException extends Unprocessab */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/GetActionItemNotFoundException.php b/src/Exception/GetActionItemNotFoundException.php index beb128f3..58631120 100644 --- a/src/Exception/GetActionItemNotFoundException.php +++ b/src/Exception/GetActionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetActionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetActionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetAkeneoInstanceItemNotFoundException.php b/src/Exception/GetAkeneoInstanceItemNotFoundException.php index 494f274c..20f2098a 100644 --- a/src/Exception/GetAkeneoInstanceItemNotFoundException.php +++ b/src/Exception/GetAkeneoInstanceItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetAkeneoInstanceItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetAkeneoInstanceItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetAkeneoLinkedAccountItemNotFoundException.php b/src/Exception/GetAkeneoLinkedAccountItemNotFoundException.php index c46acc72..4060ab6d 100644 --- a/src/Exception/GetAkeneoLinkedAccountItemNotFoundException.php +++ b/src/Exception/GetAkeneoLinkedAccountItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetAkeneoLinkedAccountItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetAkeneoLinkedAccountItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetAkeneoOauthTokenItemNotFoundException.php b/src/Exception/GetAkeneoOauthTokenItemNotFoundException.php index 1d5710f6..538fe91f 100644 --- a/src/Exception/GetAkeneoOauthTokenItemNotFoundException.php +++ b/src/Exception/GetAkeneoOauthTokenItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetAkeneoOauthTokenItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetAkeneoOauthTokenItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetCompilationItemNotFoundException.php b/src/Exception/GetCompilationItemNotFoundException.php index 322e9207..982aed8a 100644 --- a/src/Exception/GetCompilationItemNotFoundException.php +++ b/src/Exception/GetCompilationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetCompilationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetCompilationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetConfigurationItemNotFoundException.php b/src/Exception/GetConfigurationItemNotFoundException.php index 79cab842..2962ecb3 100644 --- a/src/Exception/GetConfigurationItemNotFoundException.php +++ b/src/Exception/GetConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetConfigurationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetEnvironmentItemNotFoundException.php b/src/Exception/GetEnvironmentItemNotFoundException.php index 392f073f..b9fac9bc 100644 --- a/src/Exception/GetEnvironmentItemNotFoundException.php +++ b/src/Exception/GetEnvironmentItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetEnvironmentItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetEnvironmentItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionActionItemNotFoundException.php b/src/Exception/GetExecutionActionItemNotFoundException.php index eb6797cd..fc58cb23 100644 --- a/src/Exception/GetExecutionActionItemNotFoundException.php +++ b/src/Exception/GetExecutionActionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionActionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionActionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionActionLogsExecutionWorkflowItemNotFoundException.php b/src/Exception/GetExecutionActionLogsExecutionWorkflowItemNotFoundException.php index 3fe66638..2a551e48 100644 --- a/src/Exception/GetExecutionActionLogsExecutionWorkflowItemNotFoundException.php +++ b/src/Exception/GetExecutionActionLogsExecutionWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionActionLogsExecutionWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionActionLogsExecutionWorkflowItemNotFoundException extends NotFo */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionItemNotFoundException.php b/src/Exception/GetExecutionItemNotFoundException.php index bb0ecf56..642c7021 100644 --- a/src/Exception/GetExecutionItemNotFoundException.php +++ b/src/Exception/GetExecutionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionLogsExecutionPipelineItemNotFoundException.php b/src/Exception/GetExecutionLogsExecutionPipelineItemNotFoundException.php index 71972778..ec524f78 100644 --- a/src/Exception/GetExecutionLogsExecutionPipelineItemNotFoundException.php +++ b/src/Exception/GetExecutionLogsExecutionPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionLogsExecutionPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionLogsExecutionPipelineItemNotFoundException extends NotFoundExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionPipelineItemNotFoundException.php b/src/Exception/GetExecutionPipelineItemNotFoundException.php index a4656a78..219c44c9 100644 --- a/src/Exception/GetExecutionPipelineItemNotFoundException.php +++ b/src/Exception/GetExecutionPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionPipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionPipelineJobItemNotFoundException.php b/src/Exception/GetExecutionPipelineJobItemNotFoundException.php index 71daf912..60f7f296 100644 --- a/src/Exception/GetExecutionPipelineJobItemNotFoundException.php +++ b/src/Exception/GetExecutionPipelineJobItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionPipelineJobItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionPipelineJobItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException.php b/src/Exception/GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException.php index cdd138fa..5851d3f2 100644 --- a/src/Exception/GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException.php +++ b/src/Exception/GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionPipelineRejectsExecutionWorkflowItemNotFoundException extends */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionPipelineStepItemNotFoundException.php b/src/Exception/GetExecutionPipelineStepItemNotFoundException.php index 0f430afe..25c03a83 100644 --- a/src/Exception/GetExecutionPipelineStepItemNotFoundException.php +++ b/src/Exception/GetExecutionPipelineStepItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionPipelineStepItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionPipelineStepItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionRejectsExecutionPipelineItemNotFoundException.php b/src/Exception/GetExecutionRejectsExecutionPipelineItemNotFoundException.php index 2c5056ef..a9e560f3 100644 --- a/src/Exception/GetExecutionRejectsExecutionPipelineItemNotFoundException.php +++ b/src/Exception/GetExecutionRejectsExecutionPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionRejectsExecutionPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionRejectsExecutionPipelineItemNotFoundException extends NotFound */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionWorkflowItemNotFoundException.php b/src/Exception/GetExecutionWorkflowItemNotFoundException.php index 4a26f893..e6db4406 100644 --- a/src/Exception/GetExecutionWorkflowItemNotFoundException.php +++ b/src/Exception/GetExecutionWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionWorkflowItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionWorkflowJobActionItemNotFoundException.php b/src/Exception/GetExecutionWorkflowJobActionItemNotFoundException.php index e35cd23a..cf9915a5 100644 --- a/src/Exception/GetExecutionWorkflowJobActionItemNotFoundException.php +++ b/src/Exception/GetExecutionWorkflowJobActionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionWorkflowJobActionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionWorkflowJobActionItemNotFoundException extends NotFoundExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetExecutionWorkflowJobItemNotFoundException.php b/src/Exception/GetExecutionWorkflowJobItemNotFoundException.php index 8b22f1d3..dcfb80a1 100644 --- a/src/Exception/GetExecutionWorkflowJobItemNotFoundException.php +++ b/src/Exception/GetExecutionWorkflowJobItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetExecutionWorkflowJobItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetExecutionWorkflowJobItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetForgotPasswordNotFoundException.php b/src/Exception/GetForgotPasswordNotFoundException.php index d5810943..afa8b150 100644 --- a/src/Exception/GetForgotPasswordNotFoundException.php +++ b/src/Exception/GetForgotPasswordNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetForgotPasswordNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetForgotPasswordNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Token not found or expired'); $this->response = $response; diff --git a/src/Exception/GetOnPremiseRequestItemNotFoundException.php b/src/Exception/GetOnPremiseRequestItemNotFoundException.php index 133e8aab..5fe196ae 100644 --- a/src/Exception/GetOnPremiseRequestItemNotFoundException.php +++ b/src/Exception/GetOnPremiseRequestItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetOnPremiseRequestItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetOnPremiseRequestItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetOrganizationItemNotFoundException.php b/src/Exception/GetOrganizationItemNotFoundException.php index 6f4b6526..66e5b234 100644 --- a/src/Exception/GetOrganizationItemNotFoundException.php +++ b/src/Exception/GetOrganizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetOrganizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetOrganizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetPipelineItemNotFoundException.php b/src/Exception/GetPipelineItemNotFoundException.php index f32463b8..3fdf53f9 100644 --- a/src/Exception/GetPipelineItemNotFoundException.php +++ b/src/Exception/GetPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetPipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetPipelineStepItemNotFoundException.php b/src/Exception/GetPipelineStepItemNotFoundException.php index 135ecc2a..404642de 100644 --- a/src/Exception/GetPipelineStepItemNotFoundException.php +++ b/src/Exception/GetPipelineStepItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetPipelineStepItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetPipelineStepItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetPipelineStepProbeItemNotFoundException.php b/src/Exception/GetPipelineStepProbeItemNotFoundException.php index ea6286d4..30636bbf 100644 --- a/src/Exception/GetPipelineStepProbeItemNotFoundException.php +++ b/src/Exception/GetPipelineStepProbeItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetPipelineStepProbeItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetPipelineStepProbeItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetPipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/GetPipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..9e1eebd1 --- /dev/null +++ b/src/Exception/GetPipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/GetReferralCodeItemNotFoundException.php b/src/Exception/GetReferralCodeItemNotFoundException.php index c7240d00..270c47a5 100644 --- a/src/Exception/GetReferralCodeItemNotFoundException.php +++ b/src/Exception/GetReferralCodeItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetReferralCodeItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetReferralCodeItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetReferralRequestItemNotFoundException.php b/src/Exception/GetReferralRequestItemNotFoundException.php index cce44da9..b93466f1 100644 --- a/src/Exception/GetReferralRequestItemNotFoundException.php +++ b/src/Exception/GetReferralRequestItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetReferralRequestItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetReferralRequestItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetScheduleItemNotFoundException.php b/src/Exception/GetScheduleItemNotFoundException.php index 6ae4ceaf..2d31176d 100644 --- a/src/Exception/GetScheduleItemNotFoundException.php +++ b/src/Exception/GetScheduleItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetScheduleItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetScheduleItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetSecretItemNotFoundException.php b/src/Exception/GetSecretItemNotFoundException.php index 4c4df822..60291a6a 100644 --- a/src/Exception/GetSecretItemNotFoundException.php +++ b/src/Exception/GetSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetSubscriptionItemNotFoundException.php b/src/Exception/GetSubscriptionItemNotFoundException.php index 50619295..9f08a54e 100644 --- a/src/Exception/GetSubscriptionItemNotFoundException.php +++ b/src/Exception/GetSubscriptionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetSubscriptionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetSubscriptionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetSubscriptionOfferItemNotFoundException.php b/src/Exception/GetSubscriptionOfferItemNotFoundException.php index e338fc6e..02e199dc 100644 --- a/src/Exception/GetSubscriptionOfferItemNotFoundException.php +++ b/src/Exception/GetSubscriptionOfferItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetSubscriptionOfferItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetSubscriptionOfferItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetTemplateItemNotFoundException.php b/src/Exception/GetTemplateItemNotFoundException.php new file mode 100644 index 00000000..b081afa3 --- /dev/null +++ b/src/Exception/GetTemplateItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/GetUserAuthorizationItemNotFoundException.php b/src/Exception/GetUserAuthorizationItemNotFoundException.php index 6563191c..2bf912c8 100644 --- a/src/Exception/GetUserAuthorizationItemNotFoundException.php +++ b/src/Exception/GetUserAuthorizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetUserAuthorizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetUserAuthorizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetUserItemNotFoundException.php b/src/Exception/GetUserItemNotFoundException.php index 68b705bf..0bf5032c 100644 --- a/src/Exception/GetUserItemNotFoundException.php +++ b/src/Exception/GetUserItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetUserItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetUserItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetVariableFromConfigurationItemNotFoundException.php b/src/Exception/GetVariableFromConfigurationItemNotFoundException.php index 5d6f79a2..39104a3e 100644 --- a/src/Exception/GetVariableFromConfigurationItemNotFoundException.php +++ b/src/Exception/GetVariableFromConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetVariableFromConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetVariableFromConfigurationItemNotFoundException extends NotFoundExceptio */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetVariableFromConstantItemNotFoundException.php b/src/Exception/GetVariableFromConstantItemNotFoundException.php index 5ba6ac10..06b71d6e 100644 --- a/src/Exception/GetVariableFromConstantItemNotFoundException.php +++ b/src/Exception/GetVariableFromConstantItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetVariableFromConstantItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetVariableFromConstantItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetVariableFromSecretItemNotFoundException.php b/src/Exception/GetVariableFromSecretItemNotFoundException.php index 1ab9ab4c..04f6cbd8 100644 --- a/src/Exception/GetVariableFromSecretItemNotFoundException.php +++ b/src/Exception/GetVariableFromSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetVariableFromSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetVariableFromSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetWorkflowItemNotFoundException.php b/src/Exception/GetWorkflowItemNotFoundException.php index 294ae7ac..9b138d13 100644 --- a/src/Exception/GetWorkflowItemNotFoundException.php +++ b/src/Exception/GetWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetWorkflowItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetWorkflowJobActionItemNotFoundException.php b/src/Exception/GetWorkflowJobActionItemNotFoundException.php index eff6759c..fa32d383 100644 --- a/src/Exception/GetWorkflowJobActionItemNotFoundException.php +++ b/src/Exception/GetWorkflowJobActionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetWorkflowJobActionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetWorkflowJobActionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetWorkflowJobItemNotFoundException.php b/src/Exception/GetWorkflowJobItemNotFoundException.php index 49cf73a4..8b39d2cb 100644 --- a/src/Exception/GetWorkflowJobItemNotFoundException.php +++ b/src/Exception/GetWorkflowJobItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetWorkflowJobItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetWorkflowJobItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetWorkflowJobPipelineItemNotFoundException.php b/src/Exception/GetWorkflowJobPipelineItemNotFoundException.php index fa9df082..5134b0a9 100644 --- a/src/Exception/GetWorkflowJobPipelineItemNotFoundException.php +++ b/src/Exception/GetWorkflowJobPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetWorkflowJobPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetWorkflowJobPipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/GetWorkspaceItemNotFoundException.php b/src/Exception/GetWorkspaceItemNotFoundException.php index 4132db88..cc395fb8 100644 --- a/src/Exception/GetWorkspaceItemNotFoundException.php +++ b/src/Exception/GetWorkspaceItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class GetWorkspaceItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class GetWorkspaceItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/InterruptExecutionExecutionWorkflowItemBadRequestException.php b/src/Exception/InterruptExecutionExecutionWorkflowItemBadRequestException.php index 53b400d3..664737ba 100644 --- a/src/Exception/InterruptExecutionExecutionWorkflowItemBadRequestException.php +++ b/src/Exception/InterruptExecutionExecutionWorkflowItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class InterruptExecutionExecutionWorkflowItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class InterruptExecutionExecutionWorkflowItemBadRequestException extends BadRequ */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/InterruptExecutionExecutionWorkflowItemNotFoundException.php b/src/Exception/InterruptExecutionExecutionWorkflowItemNotFoundException.php index 1fef83f9..0b718b7e 100644 --- a/src/Exception/InterruptExecutionExecutionWorkflowItemNotFoundException.php +++ b/src/Exception/InterruptExecutionExecutionWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class InterruptExecutionExecutionWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class InterruptExecutionExecutionWorkflowItemNotFoundException extends NotFoundE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/InterruptExecutionExecutionWorkflowItemUnprocessableEntityException.php b/src/Exception/InterruptExecutionExecutionWorkflowItemUnprocessableEntityException.php index 5900b0c0..4ecda153 100644 --- a/src/Exception/InterruptExecutionExecutionWorkflowItemUnprocessableEntityException.php +++ b/src/Exception/InterruptExecutionExecutionWorkflowItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class InterruptExecutionExecutionWorkflowItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class InterruptExecutionExecutionWorkflowItemUnprocessableEntityException extend */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/MoveAfterPipelineStepPipelineItemBadRequestException.php b/src/Exception/MoveAfterPipelineStepPipelineItemBadRequestException.php index 834d4dee..e59a92de 100644 --- a/src/Exception/MoveAfterPipelineStepPipelineItemBadRequestException.php +++ b/src/Exception/MoveAfterPipelineStepPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class MoveAfterPipelineStepPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class MoveAfterPipelineStepPipelineItemBadRequestException extends BadRequestExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/MoveAfterPipelineStepPipelineItemNotFoundException.php b/src/Exception/MoveAfterPipelineStepPipelineItemNotFoundException.php index 8a439f78..92dec1bb 100644 --- a/src/Exception/MoveAfterPipelineStepPipelineItemNotFoundException.php +++ b/src/Exception/MoveAfterPipelineStepPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class MoveAfterPipelineStepPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class MoveAfterPipelineStepPipelineItemNotFoundException extends NotFoundExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/MoveAfterPipelineStepPipelineItemUnprocessableEntityException.php b/src/Exception/MoveAfterPipelineStepPipelineItemUnprocessableEntityException.php index 26928676..e4eb95fc 100644 --- a/src/Exception/MoveAfterPipelineStepPipelineItemUnprocessableEntityException.php +++ b/src/Exception/MoveAfterPipelineStepPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class MoveAfterPipelineStepPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class MoveAfterPipelineStepPipelineItemUnprocessableEntityException extends Unpr */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/MoveAfterPipelineStepWorkflowJobItemBadRequestException.php b/src/Exception/MoveAfterPipelineStepWorkflowJobItemBadRequestException.php new file mode 100644 index 00000000..12de38ec --- /dev/null +++ b/src/Exception/MoveAfterPipelineStepWorkflowJobItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/MoveAfterPipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/MoveAfterPipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..b0dd9b1a --- /dev/null +++ b/src/Exception/MoveAfterPipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/MoveAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php b/src/Exception/MoveAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php new file mode 100644 index 00000000..61b4871e --- /dev/null +++ b/src/Exception/MoveAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/MoveBeforePipelineStepPipelineItemBadRequestException.php b/src/Exception/MoveBeforePipelineStepPipelineItemBadRequestException.php index 34ee42db..5aa02e3c 100644 --- a/src/Exception/MoveBeforePipelineStepPipelineItemBadRequestException.php +++ b/src/Exception/MoveBeforePipelineStepPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class MoveBeforePipelineStepPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class MoveBeforePipelineStepPipelineItemBadRequestException extends BadRequestEx */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/MoveBeforePipelineStepPipelineItemNotFoundException.php b/src/Exception/MoveBeforePipelineStepPipelineItemNotFoundException.php index 94e4ae1e..8dbfac52 100644 --- a/src/Exception/MoveBeforePipelineStepPipelineItemNotFoundException.php +++ b/src/Exception/MoveBeforePipelineStepPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class MoveBeforePipelineStepPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class MoveBeforePipelineStepPipelineItemNotFoundException extends NotFoundExcept */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/MoveBeforePipelineStepPipelineItemUnprocessableEntityException.php b/src/Exception/MoveBeforePipelineStepPipelineItemUnprocessableEntityException.php index 17098daf..008cbc03 100644 --- a/src/Exception/MoveBeforePipelineStepPipelineItemUnprocessableEntityException.php +++ b/src/Exception/MoveBeforePipelineStepPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class MoveBeforePipelineStepPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class MoveBeforePipelineStepPipelineItemUnprocessableEntityException extends Unp */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/MoveBeforePipelineStepWorkflowJobItemBadRequestException.php b/src/Exception/MoveBeforePipelineStepWorkflowJobItemBadRequestException.php new file mode 100644 index 00000000..47565751 --- /dev/null +++ b/src/Exception/MoveBeforePipelineStepWorkflowJobItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/MoveBeforePipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/MoveBeforePipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..f3d49436 --- /dev/null +++ b/src/Exception/MoveBeforePipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/MoveBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php b/src/Exception/MoveBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php new file mode 100644 index 00000000..86745310 --- /dev/null +++ b/src/Exception/MoveBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/NotFoundException.php b/src/Exception/NotFoundException.php index 0f177b98..3603f74f 100644 --- a/src/Exception/NotFoundException.php +++ b/src/Exception/NotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class NotFoundException extends \RuntimeException implements ClientException diff --git a/src/Exception/PatchOrganizationItemBadRequestException.php b/src/Exception/PatchOrganizationItemBadRequestException.php index 2e560238..4521ce6b 100644 --- a/src/Exception/PatchOrganizationItemBadRequestException.php +++ b/src/Exception/PatchOrganizationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchOrganizationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PatchOrganizationItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PatchOrganizationItemNotFoundException.php b/src/Exception/PatchOrganizationItemNotFoundException.php index 1fc9597a..27206782 100644 --- a/src/Exception/PatchOrganizationItemNotFoundException.php +++ b/src/Exception/PatchOrganizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchOrganizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PatchOrganizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PatchOrganizationItemUnprocessableEntityException.php b/src/Exception/PatchOrganizationItemUnprocessableEntityException.php index ad8a6ab5..8a610632 100644 --- a/src/Exception/PatchOrganizationItemUnprocessableEntityException.php +++ b/src/Exception/PatchOrganizationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchOrganizationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PatchOrganizationItemUnprocessableEntityException extends UnprocessableEnt */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PatchSubscriptionItemBadRequestException.php b/src/Exception/PatchSubscriptionItemBadRequestException.php index 064164be..25dacec0 100644 --- a/src/Exception/PatchSubscriptionItemBadRequestException.php +++ b/src/Exception/PatchSubscriptionItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchSubscriptionItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PatchSubscriptionItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PatchSubscriptionItemNotFoundException.php b/src/Exception/PatchSubscriptionItemNotFoundException.php index 5a47654c..8ac95c19 100644 --- a/src/Exception/PatchSubscriptionItemNotFoundException.php +++ b/src/Exception/PatchSubscriptionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchSubscriptionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PatchSubscriptionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PatchSubscriptionItemUnprocessableEntityException.php b/src/Exception/PatchSubscriptionItemUnprocessableEntityException.php index aee3c77d..e99a8929 100644 --- a/src/Exception/PatchSubscriptionItemUnprocessableEntityException.php +++ b/src/Exception/PatchSubscriptionItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchSubscriptionItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PatchSubscriptionItemUnprocessableEntityException extends UnprocessableEnt */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PatchSubscriptionOfferItemBadRequestException.php b/src/Exception/PatchSubscriptionOfferItemBadRequestException.php index dd95f2b4..fc21f059 100644 --- a/src/Exception/PatchSubscriptionOfferItemBadRequestException.php +++ b/src/Exception/PatchSubscriptionOfferItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchSubscriptionOfferItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PatchSubscriptionOfferItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PatchSubscriptionOfferItemNotFoundException.php b/src/Exception/PatchSubscriptionOfferItemNotFoundException.php index 64cf7bd5..fa6def88 100644 --- a/src/Exception/PatchSubscriptionOfferItemNotFoundException.php +++ b/src/Exception/PatchSubscriptionOfferItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchSubscriptionOfferItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PatchSubscriptionOfferItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PatchSubscriptionOfferItemUnprocessableEntityException.php b/src/Exception/PatchSubscriptionOfferItemUnprocessableEntityException.php index 2500e0b2..0c03046e 100644 --- a/src/Exception/PatchSubscriptionOfferItemUnprocessableEntityException.php +++ b/src/Exception/PatchSubscriptionOfferItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchSubscriptionOfferItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PatchSubscriptionOfferItemUnprocessableEntityException extends Unprocessab */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PatchUserAuthorizationItemBadRequestException.php b/src/Exception/PatchUserAuthorizationItemBadRequestException.php index 4f31c71d..fdf20daa 100644 --- a/src/Exception/PatchUserAuthorizationItemBadRequestException.php +++ b/src/Exception/PatchUserAuthorizationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchUserAuthorizationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PatchUserAuthorizationItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PatchUserAuthorizationItemNotFoundException.php b/src/Exception/PatchUserAuthorizationItemNotFoundException.php index 789262ac..d0b215a5 100644 --- a/src/Exception/PatchUserAuthorizationItemNotFoundException.php +++ b/src/Exception/PatchUserAuthorizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchUserAuthorizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PatchUserAuthorizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PatchUserAuthorizationItemUnprocessableEntityException.php b/src/Exception/PatchUserAuthorizationItemUnprocessableEntityException.php index 0180ff91..79dceaa9 100644 --- a/src/Exception/PatchUserAuthorizationItemUnprocessableEntityException.php +++ b/src/Exception/PatchUserAuthorizationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchUserAuthorizationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PatchUserAuthorizationItemUnprocessableEntityException extends Unprocessab */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PatchUserItemBadRequestException.php b/src/Exception/PatchUserItemBadRequestException.php index b792e4da..f323eb64 100644 --- a/src/Exception/PatchUserItemBadRequestException.php +++ b/src/Exception/PatchUserItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchUserItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PatchUserItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PatchUserItemNotFoundException.php b/src/Exception/PatchUserItemNotFoundException.php index 9c8acaa2..46e92ef6 100644 --- a/src/Exception/PatchUserItemNotFoundException.php +++ b/src/Exception/PatchUserItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchUserItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PatchUserItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PatchUserItemUnprocessableEntityException.php b/src/Exception/PatchUserItemUnprocessableEntityException.php index 439a0855..00700e32 100644 --- a/src/Exception/PatchUserItemUnprocessableEntityException.php +++ b/src/Exception/PatchUserItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchUserItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PatchUserItemUnprocessableEntityException extends UnprocessableEntityExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PatchWorkspaceItemBadRequestException.php b/src/Exception/PatchWorkspaceItemBadRequestException.php index f7f83f30..6feb09c2 100644 --- a/src/Exception/PatchWorkspaceItemBadRequestException.php +++ b/src/Exception/PatchWorkspaceItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchWorkspaceItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PatchWorkspaceItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PatchWorkspaceItemNotFoundException.php b/src/Exception/PatchWorkspaceItemNotFoundException.php index be5598a4..d1f4a5cb 100644 --- a/src/Exception/PatchWorkspaceItemNotFoundException.php +++ b/src/Exception/PatchWorkspaceItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchWorkspaceItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PatchWorkspaceItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PatchWorkspaceItemUnprocessableEntityException.php b/src/Exception/PatchWorkspaceItemUnprocessableEntityException.php index 24fefb23..134de044 100644 --- a/src/Exception/PatchWorkspaceItemUnprocessableEntityException.php +++ b/src/Exception/PatchWorkspaceItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PatchWorkspaceItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PatchWorkspaceItemUnprocessableEntityException extends UnprocessableEntity */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PipelineCompilationPipelineItemBadRequestException.php b/src/Exception/PipelineCompilationPipelineItemBadRequestException.php index 18859624..c4c13b62 100644 --- a/src/Exception/PipelineCompilationPipelineItemBadRequestException.php +++ b/src/Exception/PipelineCompilationPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineCompilationPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PipelineCompilationPipelineItemBadRequestException extends BadRequestExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PipelineCompilationPipelineItemNotFoundException.php b/src/Exception/PipelineCompilationPipelineItemNotFoundException.php index e19083dd..845ca226 100644 --- a/src/Exception/PipelineCompilationPipelineItemNotFoundException.php +++ b/src/Exception/PipelineCompilationPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineCompilationPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PipelineCompilationPipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PipelineCompilationPipelineItemUnprocessableEntityException.php b/src/Exception/PipelineCompilationPipelineItemUnprocessableEntityException.php index 48fe4050..aed9e4e5 100644 --- a/src/Exception/PipelineCompilationPipelineItemUnprocessableEntityException.php +++ b/src/Exception/PipelineCompilationPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineCompilationPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PipelineCompilationPipelineItemUnprocessableEntityException extends Unproc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PipelineScheduleImmediatePipelineItemBadRequestException.php b/src/Exception/PipelineScheduleImmediatePipelineItemBadRequestException.php index 1a57026e..ca8f2b61 100644 --- a/src/Exception/PipelineScheduleImmediatePipelineItemBadRequestException.php +++ b/src/Exception/PipelineScheduleImmediatePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineScheduleImmediatePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PipelineScheduleImmediatePipelineItemBadRequestException extends BadReques */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PipelineScheduleImmediatePipelineItemNotFoundException.php b/src/Exception/PipelineScheduleImmediatePipelineItemNotFoundException.php index bf971eb3..bdcfd6d9 100644 --- a/src/Exception/PipelineScheduleImmediatePipelineItemNotFoundException.php +++ b/src/Exception/PipelineScheduleImmediatePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineScheduleImmediatePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PipelineScheduleImmediatePipelineItemNotFoundException extends NotFoundExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PipelineScheduleImmediatePipelineItemUnprocessableEntityException.php b/src/Exception/PipelineScheduleImmediatePipelineItemUnprocessableEntityException.php index 3add1a1f..93d98658 100644 --- a/src/Exception/PipelineScheduleImmediatePipelineItemUnprocessableEntityException.php +++ b/src/Exception/PipelineScheduleImmediatePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineScheduleImmediatePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PipelineScheduleImmediatePipelineItemUnprocessableEntityException extends */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PipelineScheduleOncePipelineItemBadRequestException.php b/src/Exception/PipelineScheduleOncePipelineItemBadRequestException.php index 2cb39b2c..40cff8fd 100644 --- a/src/Exception/PipelineScheduleOncePipelineItemBadRequestException.php +++ b/src/Exception/PipelineScheduleOncePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineScheduleOncePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PipelineScheduleOncePipelineItemBadRequestException extends BadRequestExce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PipelineScheduleOncePipelineItemNotFoundException.php b/src/Exception/PipelineScheduleOncePipelineItemNotFoundException.php index ec12be8d..846d714f 100644 --- a/src/Exception/PipelineScheduleOncePipelineItemNotFoundException.php +++ b/src/Exception/PipelineScheduleOncePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineScheduleOncePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PipelineScheduleOncePipelineItemNotFoundException extends NotFoundExceptio */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PipelineScheduleOncePipelineItemUnprocessableEntityException.php b/src/Exception/PipelineScheduleOncePipelineItemUnprocessableEntityException.php index 364ff21f..adadd226 100644 --- a/src/Exception/PipelineScheduleOncePipelineItemUnprocessableEntityException.php +++ b/src/Exception/PipelineScheduleOncePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PipelineScheduleOncePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PipelineScheduleOncePipelineItemUnprocessableEntityException extends Unpro */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostAkeneoInstanceCollectionBadRequestException.php b/src/Exception/PostAkeneoInstanceCollectionBadRequestException.php index c50b5250..31af8ee1 100644 --- a/src/Exception/PostAkeneoInstanceCollectionBadRequestException.php +++ b/src/Exception/PostAkeneoInstanceCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostAkeneoInstanceCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostAkeneoInstanceCollectionBadRequestException extends BadRequestExceptio */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostAkeneoInstanceCollectionUnprocessableEntityException.php b/src/Exception/PostAkeneoInstanceCollectionUnprocessableEntityException.php index e27055ea..173889ba 100644 --- a/src/Exception/PostAkeneoInstanceCollectionUnprocessableEntityException.php +++ b/src/Exception/PostAkeneoInstanceCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostAkeneoInstanceCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostAkeneoInstanceCollectionUnprocessableEntityException extends Unprocess */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostAkeneoLinkedAccountCollectionBadRequestException.php b/src/Exception/PostAkeneoLinkedAccountCollectionBadRequestException.php index 1cd08f4c..69a51259 100644 --- a/src/Exception/PostAkeneoLinkedAccountCollectionBadRequestException.php +++ b/src/Exception/PostAkeneoLinkedAccountCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostAkeneoLinkedAccountCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostAkeneoLinkedAccountCollectionBadRequestException extends BadRequestExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostAkeneoLinkedAccountCollectionUnprocessableEntityException.php b/src/Exception/PostAkeneoLinkedAccountCollectionUnprocessableEntityException.php index 07c235a9..41b62cf3 100644 --- a/src/Exception/PostAkeneoLinkedAccountCollectionUnprocessableEntityException.php +++ b/src/Exception/PostAkeneoLinkedAccountCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostAkeneoLinkedAccountCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostAkeneoLinkedAccountCollectionUnprocessableEntityException extends Unpr */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostAkeneoOauthTokenCollectionBadRequestException.php b/src/Exception/PostAkeneoOauthTokenCollectionBadRequestException.php index bd4f2aaf..510a0a8e 100644 --- a/src/Exception/PostAkeneoOauthTokenCollectionBadRequestException.php +++ b/src/Exception/PostAkeneoOauthTokenCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostAkeneoOauthTokenCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostAkeneoOauthTokenCollectionBadRequestException extends BadRequestExcept */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostAkeneoOauthTokenCollectionUnprocessableEntityException.php b/src/Exception/PostAkeneoOauthTokenCollectionUnprocessableEntityException.php index d475925e..4b483bba 100644 --- a/src/Exception/PostAkeneoOauthTokenCollectionUnprocessableEntityException.php +++ b/src/Exception/PostAkeneoOauthTokenCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostAkeneoOauthTokenCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostAkeneoOauthTokenCollectionUnprocessableEntityException extends Unproce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostConfigurationCollectionBadRequestException.php b/src/Exception/PostConfigurationCollectionBadRequestException.php index c370222f..4740a80d 100644 --- a/src/Exception/PostConfigurationCollectionBadRequestException.php +++ b/src/Exception/PostConfigurationCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostConfigurationCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostConfigurationCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostConfigurationCollectionUnprocessableEntityException.php b/src/Exception/PostConfigurationCollectionUnprocessableEntityException.php index 76667a00..df95aff5 100644 --- a/src/Exception/PostConfigurationCollectionUnprocessableEntityException.php +++ b/src/Exception/PostConfigurationCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostConfigurationCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostConfigurationCollectionUnprocessableEntityException extends Unprocessa */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostEnvironmentCollectionBadRequestException.php b/src/Exception/PostEnvironmentCollectionBadRequestException.php index c3c19240..da27263c 100644 --- a/src/Exception/PostEnvironmentCollectionBadRequestException.php +++ b/src/Exception/PostEnvironmentCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostEnvironmentCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostEnvironmentCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostEnvironmentCollectionUnprocessableEntityException.php b/src/Exception/PostEnvironmentCollectionUnprocessableEntityException.php index dee0e7db..b64ab5b0 100644 --- a/src/Exception/PostEnvironmentCollectionUnprocessableEntityException.php +++ b/src/Exception/PostEnvironmentCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostEnvironmentCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostEnvironmentCollectionUnprocessableEntityException extends Unprocessabl */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostForgotPasswordBadRequestException.php b/src/Exception/PostForgotPasswordBadRequestException.php index ad177de1..3dc5a92d 100644 --- a/src/Exception/PostForgotPasswordBadRequestException.php +++ b/src/Exception/PostForgotPasswordBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostForgotPasswordBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostForgotPasswordBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Missing email parameter or invalid format'); $this->response = $response; diff --git a/src/Exception/PostForgotPasswordTokenBadRequestException.php b/src/Exception/PostForgotPasswordTokenBadRequestException.php index 58985b95..3c318d1d 100644 --- a/src/Exception/PostForgotPasswordTokenBadRequestException.php +++ b/src/Exception/PostForgotPasswordTokenBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostForgotPasswordTokenBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostForgotPasswordTokenBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Missing password parameter'); $this->response = $response; diff --git a/src/Exception/PostForgotPasswordTokenNotFoundException.php b/src/Exception/PostForgotPasswordTokenNotFoundException.php index 508d302d..627a00b3 100644 --- a/src/Exception/PostForgotPasswordTokenNotFoundException.php +++ b/src/Exception/PostForgotPasswordTokenNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostForgotPasswordTokenNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PostForgotPasswordTokenNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Token not found'); $this->response = $response; diff --git a/src/Exception/PostOnPremiseRequestCollectionBadRequestException.php b/src/Exception/PostOnPremiseRequestCollectionBadRequestException.php index 5481b8ec..3a7c66aa 100644 --- a/src/Exception/PostOnPremiseRequestCollectionBadRequestException.php +++ b/src/Exception/PostOnPremiseRequestCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostOnPremiseRequestCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostOnPremiseRequestCollectionBadRequestException extends BadRequestExcept */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostOnPremiseRequestCollectionUnprocessableEntityException.php b/src/Exception/PostOnPremiseRequestCollectionUnprocessableEntityException.php index 85e8ec7f..1de0e3f5 100644 --- a/src/Exception/PostOnPremiseRequestCollectionUnprocessableEntityException.php +++ b/src/Exception/PostOnPremiseRequestCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostOnPremiseRequestCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostOnPremiseRequestCollectionUnprocessableEntityException extends Unproce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostOrganizationCollectionBadRequestException.php b/src/Exception/PostOrganizationCollectionBadRequestException.php index 1b1eb4b8..92a843b1 100644 --- a/src/Exception/PostOrganizationCollectionBadRequestException.php +++ b/src/Exception/PostOrganizationCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostOrganizationCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostOrganizationCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostOrganizationCollectionUnprocessableEntityException.php b/src/Exception/PostOrganizationCollectionUnprocessableEntityException.php index b1553a26..f18cc46b 100644 --- a/src/Exception/PostOrganizationCollectionUnprocessableEntityException.php +++ b/src/Exception/PostOrganizationCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostOrganizationCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostOrganizationCollectionUnprocessableEntityException extends Unprocessab */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostReferralCodeCollectionBadRequestException.php b/src/Exception/PostReferralCodeCollectionBadRequestException.php index d9b89b38..2eb54fe0 100644 --- a/src/Exception/PostReferralCodeCollectionBadRequestException.php +++ b/src/Exception/PostReferralCodeCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostReferralCodeCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostReferralCodeCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostReferralCodeCollectionUnprocessableEntityException.php b/src/Exception/PostReferralCodeCollectionUnprocessableEntityException.php index 8c9bd76d..a7e5ec77 100644 --- a/src/Exception/PostReferralCodeCollectionUnprocessableEntityException.php +++ b/src/Exception/PostReferralCodeCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostReferralCodeCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostReferralCodeCollectionUnprocessableEntityException extends Unprocessab */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostReferralRequestCollectionBadRequestException.php b/src/Exception/PostReferralRequestCollectionBadRequestException.php index f4b269a6..862dde9d 100644 --- a/src/Exception/PostReferralRequestCollectionBadRequestException.php +++ b/src/Exception/PostReferralRequestCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostReferralRequestCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostReferralRequestCollectionBadRequestException extends BadRequestExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostReferralRequestCollectionUnprocessableEntityException.php b/src/Exception/PostReferralRequestCollectionUnprocessableEntityException.php index 3f69a9e5..ef2e6205 100644 --- a/src/Exception/PostReferralRequestCollectionUnprocessableEntityException.php +++ b/src/Exception/PostReferralRequestCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostReferralRequestCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostReferralRequestCollectionUnprocessableEntityException extends Unproces */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostSecretCollectionBadRequestException.php b/src/Exception/PostSecretCollectionBadRequestException.php index b10224ab..8a4a379a 100644 --- a/src/Exception/PostSecretCollectionBadRequestException.php +++ b/src/Exception/PostSecretCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostSecretCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostSecretCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostSecretCollectionUnprocessableEntityException.php b/src/Exception/PostSecretCollectionUnprocessableEntityException.php index 2a6f64ba..b215315a 100644 --- a/src/Exception/PostSecretCollectionUnprocessableEntityException.php +++ b/src/Exception/PostSecretCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostSecretCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostSecretCollectionUnprocessableEntityException extends UnprocessableEnti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostSubscriptionCollectionBadRequestException.php b/src/Exception/PostSubscriptionCollectionBadRequestException.php index 611476c4..f3a5a6aa 100644 --- a/src/Exception/PostSubscriptionCollectionBadRequestException.php +++ b/src/Exception/PostSubscriptionCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostSubscriptionCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostSubscriptionCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostSubscriptionCollectionUnprocessableEntityException.php b/src/Exception/PostSubscriptionCollectionUnprocessableEntityException.php index bbb9c919..0a48dba0 100644 --- a/src/Exception/PostSubscriptionCollectionUnprocessableEntityException.php +++ b/src/Exception/PostSubscriptionCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostSubscriptionCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostSubscriptionCollectionUnprocessableEntityException extends Unprocessab */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostTemplateCollectionBadRequestException.php b/src/Exception/PostTemplateCollectionBadRequestException.php new file mode 100644 index 00000000..d46c80d6 --- /dev/null +++ b/src/Exception/PostTemplateCollectionBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/PostTemplateCollectionUnprocessableEntityException.php b/src/Exception/PostTemplateCollectionUnprocessableEntityException.php new file mode 100644 index 00000000..e4c413df --- /dev/null +++ b/src/Exception/PostTemplateCollectionUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/PostUserAuthorizationCollectionBadRequestException.php b/src/Exception/PostUserAuthorizationCollectionBadRequestException.php index 4126dffe..1a8c58cc 100644 --- a/src/Exception/PostUserAuthorizationCollectionBadRequestException.php +++ b/src/Exception/PostUserAuthorizationCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostUserAuthorizationCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostUserAuthorizationCollectionBadRequestException extends BadRequestExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostUserAuthorizationCollectionUnprocessableEntityException.php b/src/Exception/PostUserAuthorizationCollectionUnprocessableEntityException.php index ed852bd9..6e664923 100644 --- a/src/Exception/PostUserAuthorizationCollectionUnprocessableEntityException.php +++ b/src/Exception/PostUserAuthorizationCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostUserAuthorizationCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostUserAuthorizationCollectionUnprocessableEntityException extends Unproc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostUserCollectionBadRequestException.php b/src/Exception/PostUserCollectionBadRequestException.php index dee7eb74..5f3fd155 100644 --- a/src/Exception/PostUserCollectionBadRequestException.php +++ b/src/Exception/PostUserCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostUserCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostUserCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostUserCollectionUnprocessableEntityException.php b/src/Exception/PostUserCollectionUnprocessableEntityException.php index 7a434f31..d674ec70 100644 --- a/src/Exception/PostUserCollectionUnprocessableEntityException.php +++ b/src/Exception/PostUserCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostUserCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostUserCollectionUnprocessableEntityException extends UnprocessableEntity */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PostWorkspaceCollectionBadRequestException.php b/src/Exception/PostWorkspaceCollectionBadRequestException.php index 408fc4c1..bdba76e8 100644 --- a/src/Exception/PostWorkspaceCollectionBadRequestException.php +++ b/src/Exception/PostWorkspaceCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostWorkspaceCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PostWorkspaceCollectionBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PostWorkspaceCollectionUnprocessableEntityException.php b/src/Exception/PostWorkspaceCollectionUnprocessableEntityException.php index 7fa19bd9..e998f0ab 100644 --- a/src/Exception/PostWorkspaceCollectionUnprocessableEntityException.php +++ b/src/Exception/PostWorkspaceCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PostWorkspaceCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PostWorkspaceCollectionUnprocessableEntityException extends UnprocessableE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException.php b/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException.php index b070df8f..c2395023 100644 --- a/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException.php +++ b/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException extends B */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException.php b/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException.php index cdd2c4c5..a9650bd7 100644 --- a/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException.php +++ b/src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutExternalCollaboratorsOrganizationItemBadRequestException.php b/src/Exception/PutExternalCollaboratorsOrganizationItemBadRequestException.php index 369aeadf..5d9db8dd 100644 --- a/src/Exception/PutExternalCollaboratorsOrganizationItemBadRequestException.php +++ b/src/Exception/PutExternalCollaboratorsOrganizationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutExternalCollaboratorsOrganizationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutExternalCollaboratorsOrganizationItemBadRequestException extends BadReq */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutExternalCollaboratorsOrganizationItemNotFoundException.php b/src/Exception/PutExternalCollaboratorsOrganizationItemNotFoundException.php index 2879e3ba..d463af07 100644 --- a/src/Exception/PutExternalCollaboratorsOrganizationItemNotFoundException.php +++ b/src/Exception/PutExternalCollaboratorsOrganizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutExternalCollaboratorsOrganizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PutExternalCollaboratorsOrganizationItemNotFoundException extends NotFound */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PutExternalCollaboratorsOrganizationItemUnprocessableEntityException.php b/src/Exception/PutExternalCollaboratorsOrganizationItemUnprocessableEntityException.php index f556e80f..98611c3f 100644 --- a/src/Exception/PutExternalCollaboratorsOrganizationItemUnprocessableEntityException.php +++ b/src/Exception/PutExternalCollaboratorsOrganizationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutExternalCollaboratorsOrganizationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutExternalCollaboratorsOrganizationItemUnprocessableEntityException exten */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutOrganizationItemBadRequestException.php b/src/Exception/PutOrganizationItemBadRequestException.php index c696bd53..379ef6c6 100644 --- a/src/Exception/PutOrganizationItemBadRequestException.php +++ b/src/Exception/PutOrganizationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutOrganizationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutOrganizationItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutOrganizationItemNotFoundException.php b/src/Exception/PutOrganizationItemNotFoundException.php index c76be755..00c2e248 100644 --- a/src/Exception/PutOrganizationItemNotFoundException.php +++ b/src/Exception/PutOrganizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutOrganizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PutOrganizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PutOrganizationItemUnprocessableEntityException.php b/src/Exception/PutOrganizationItemUnprocessableEntityException.php index ccd3fbca..52819a04 100644 --- a/src/Exception/PutOrganizationItemUnprocessableEntityException.php +++ b/src/Exception/PutOrganizationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutOrganizationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutOrganizationItemUnprocessableEntityException extends UnprocessableEntit */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutSubscriptionItemBadRequestException.php b/src/Exception/PutSubscriptionItemBadRequestException.php index d768ac04..9d84e500 100644 --- a/src/Exception/PutSubscriptionItemBadRequestException.php +++ b/src/Exception/PutSubscriptionItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutSubscriptionItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutSubscriptionItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutSubscriptionItemNotFoundException.php b/src/Exception/PutSubscriptionItemNotFoundException.php index 30775d32..2680f67c 100644 --- a/src/Exception/PutSubscriptionItemNotFoundException.php +++ b/src/Exception/PutSubscriptionItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutSubscriptionItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PutSubscriptionItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PutSubscriptionItemUnprocessableEntityException.php b/src/Exception/PutSubscriptionItemUnprocessableEntityException.php index c6719bcc..233fbd0b 100644 --- a/src/Exception/PutSubscriptionItemUnprocessableEntityException.php +++ b/src/Exception/PutSubscriptionItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutSubscriptionItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutSubscriptionItemUnprocessableEntityException extends UnprocessableEntit */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutSubscriptionOfferItemBadRequestException.php b/src/Exception/PutSubscriptionOfferItemBadRequestException.php index ca07cd6f..3571a46b 100644 --- a/src/Exception/PutSubscriptionOfferItemBadRequestException.php +++ b/src/Exception/PutSubscriptionOfferItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutSubscriptionOfferItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutSubscriptionOfferItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutSubscriptionOfferItemNotFoundException.php b/src/Exception/PutSubscriptionOfferItemNotFoundException.php index fac86616..69b7fa9b 100644 --- a/src/Exception/PutSubscriptionOfferItemNotFoundException.php +++ b/src/Exception/PutSubscriptionOfferItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutSubscriptionOfferItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PutSubscriptionOfferItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PutSubscriptionOfferItemUnprocessableEntityException.php b/src/Exception/PutSubscriptionOfferItemUnprocessableEntityException.php index e026f5f5..ee6599d1 100644 --- a/src/Exception/PutSubscriptionOfferItemUnprocessableEntityException.php +++ b/src/Exception/PutSubscriptionOfferItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutSubscriptionOfferItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutSubscriptionOfferItemUnprocessableEntityException extends Unprocessable */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutTemplateItemBadRequestException.php b/src/Exception/PutTemplateItemBadRequestException.php new file mode 100644 index 00000000..76597efd --- /dev/null +++ b/src/Exception/PutTemplateItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/PutTemplateItemNotFoundException.php b/src/Exception/PutTemplateItemNotFoundException.php new file mode 100644 index 00000000..fb8f25b6 --- /dev/null +++ b/src/Exception/PutTemplateItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/PutTemplateItemUnprocessableEntityException.php b/src/Exception/PutTemplateItemUnprocessableEntityException.php new file mode 100644 index 00000000..0119800e --- /dev/null +++ b/src/Exception/PutTemplateItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/PutUserAuthorizationItemBadRequestException.php b/src/Exception/PutUserAuthorizationItemBadRequestException.php index c8285b88..efa82879 100644 --- a/src/Exception/PutUserAuthorizationItemBadRequestException.php +++ b/src/Exception/PutUserAuthorizationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutUserAuthorizationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutUserAuthorizationItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutUserAuthorizationItemNotFoundException.php b/src/Exception/PutUserAuthorizationItemNotFoundException.php index b277dea4..e8ad2042 100644 --- a/src/Exception/PutUserAuthorizationItemNotFoundException.php +++ b/src/Exception/PutUserAuthorizationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutUserAuthorizationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PutUserAuthorizationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PutUserAuthorizationItemUnprocessableEntityException.php b/src/Exception/PutUserAuthorizationItemUnprocessableEntityException.php index 8a1934d1..103994db 100644 --- a/src/Exception/PutUserAuthorizationItemUnprocessableEntityException.php +++ b/src/Exception/PutUserAuthorizationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutUserAuthorizationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutUserAuthorizationItemUnprocessableEntityException extends Unprocessable */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutUserItemBadRequestException.php b/src/Exception/PutUserItemBadRequestException.php index 9a565b36..aa874c88 100644 --- a/src/Exception/PutUserItemBadRequestException.php +++ b/src/Exception/PutUserItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutUserItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutUserItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutUserItemNotFoundException.php b/src/Exception/PutUserItemNotFoundException.php index afa7e812..d31f61d8 100644 --- a/src/Exception/PutUserItemNotFoundException.php +++ b/src/Exception/PutUserItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutUserItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PutUserItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PutUserItemUnprocessableEntityException.php b/src/Exception/PutUserItemUnprocessableEntityException.php index f86041a5..fd2597ca 100644 --- a/src/Exception/PutUserItemUnprocessableEntityException.php +++ b/src/Exception/PutUserItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutUserItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutUserItemUnprocessableEntityException extends UnprocessableEntityExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/PutWorkspaceItemBadRequestException.php b/src/Exception/PutWorkspaceItemBadRequestException.php index a34a72b0..9c404fa6 100644 --- a/src/Exception/PutWorkspaceItemBadRequestException.php +++ b/src/Exception/PutWorkspaceItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutWorkspaceItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class PutWorkspaceItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/PutWorkspaceItemNotFoundException.php b/src/Exception/PutWorkspaceItemNotFoundException.php index 3f84abbd..6ad2edcb 100644 --- a/src/Exception/PutWorkspaceItemNotFoundException.php +++ b/src/Exception/PutWorkspaceItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutWorkspaceItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class PutWorkspaceItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/PutWorkspaceItemUnprocessableEntityException.php b/src/Exception/PutWorkspaceItemUnprocessableEntityException.php index 716b31f9..6434761a 100644 --- a/src/Exception/PutWorkspaceItemUnprocessableEntityException.php +++ b/src/Exception/PutWorkspaceItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class PutWorkspaceItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class PutWorkspaceItemUnprocessableEntityException extends UnprocessableEntityEx */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/RejectReferralRequestReferralRequestItemBadRequestException.php b/src/Exception/RejectReferralRequestReferralRequestItemBadRequestException.php index c66f63fe..ee221519 100644 --- a/src/Exception/RejectReferralRequestReferralRequestItemBadRequestException.php +++ b/src/Exception/RejectReferralRequestReferralRequestItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RejectReferralRequestReferralRequestItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class RejectReferralRequestReferralRequestItemBadRequestException extends BadReq */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/RejectReferralRequestReferralRequestItemNotFoundException.php b/src/Exception/RejectReferralRequestReferralRequestItemNotFoundException.php index c018fa93..d76f5566 100644 --- a/src/Exception/RejectReferralRequestReferralRequestItemNotFoundException.php +++ b/src/Exception/RejectReferralRequestReferralRequestItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RejectReferralRequestReferralRequestItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RejectReferralRequestReferralRequestItemNotFoundException extends NotFound */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RejectReferralRequestReferralRequestItemUnprocessableEntityException.php b/src/Exception/RejectReferralRequestReferralRequestItemUnprocessableEntityException.php index e317f656..3d361513 100644 --- a/src/Exception/RejectReferralRequestReferralRequestItemUnprocessableEntityException.php +++ b/src/Exception/RejectReferralRequestReferralRequestItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RejectReferralRequestReferralRequestItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class RejectReferralRequestReferralRequestItemUnprocessableEntityException exten */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/RemoveComposerAuthPipelinePipelineItemBadRequestException.php b/src/Exception/RemoveComposerAuthPipelinePipelineItemBadRequestException.php index 99cb0dd2..69b16778 100644 --- a/src/Exception/RemoveComposerAuthPipelinePipelineItemBadRequestException.php +++ b/src/Exception/RemoveComposerAuthPipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerAuthPipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class RemoveComposerAuthPipelinePipelineItemBadRequestException extends BadReque */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/RemoveComposerAuthPipelinePipelineItemNotFoundException.php b/src/Exception/RemoveComposerAuthPipelinePipelineItemNotFoundException.php index 0f9ed075..f345c01a 100644 --- a/src/Exception/RemoveComposerAuthPipelinePipelineItemNotFoundException.php +++ b/src/Exception/RemoveComposerAuthPipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerAuthPipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RemoveComposerAuthPipelinePipelineItemNotFoundException extends NotFoundEx */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException.php b/src/Exception/RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException.php index c9c94a1f..f357254e 100644 --- a/src/Exception/RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException extends */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/RemoveComposerAutoloadPipelinePipelineItemBadRequestException.php b/src/Exception/RemoveComposerAutoloadPipelinePipelineItemBadRequestException.php index c11b0bcb..0f22bfdc 100644 --- a/src/Exception/RemoveComposerAutoloadPipelinePipelineItemBadRequestException.php +++ b/src/Exception/RemoveComposerAutoloadPipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerAutoloadPipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class RemoveComposerAutoloadPipelinePipelineItemBadRequestException extends BadR */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/RemoveComposerAutoloadPipelinePipelineItemNotFoundException.php b/src/Exception/RemoveComposerAutoloadPipelinePipelineItemNotFoundException.php index cb50123c..079286be 100644 --- a/src/Exception/RemoveComposerAutoloadPipelinePipelineItemNotFoundException.php +++ b/src/Exception/RemoveComposerAutoloadPipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerAutoloadPipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RemoveComposerAutoloadPipelinePipelineItemNotFoundException extends NotFou */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php b/src/Exception/RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php index 0593cdb3..71e7cb7e 100644 --- a/src/Exception/RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException ext */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/RemoveComposerPackagePipelinePipelineItemBadRequestException.php b/src/Exception/RemoveComposerPackagePipelinePipelineItemBadRequestException.php index 599f67e7..961b42c7 100644 --- a/src/Exception/RemoveComposerPackagePipelinePipelineItemBadRequestException.php +++ b/src/Exception/RemoveComposerPackagePipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerPackagePipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class RemoveComposerPackagePipelinePipelineItemBadRequestException extends BadRe */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/RemoveComposerPackagePipelinePipelineItemNotFoundException.php b/src/Exception/RemoveComposerPackagePipelinePipelineItemNotFoundException.php index 2570d373..24111f1b 100644 --- a/src/Exception/RemoveComposerPackagePipelinePipelineItemNotFoundException.php +++ b/src/Exception/RemoveComposerPackagePipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerPackagePipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RemoveComposerPackagePipelinePipelineItemNotFoundException extends NotFoun */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException.php b/src/Exception/RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException.php index f782187e..88c9d0b2 100644 --- a/src/Exception/RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException exte */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/RemoveComposerRepositoryPipelinePipelineItemBadRequestException.php b/src/Exception/RemoveComposerRepositoryPipelinePipelineItemBadRequestException.php index a5543593..7b29b77c 100644 --- a/src/Exception/RemoveComposerRepositoryPipelinePipelineItemBadRequestException.php +++ b/src/Exception/RemoveComposerRepositoryPipelinePipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerRepositoryPipelinePipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class RemoveComposerRepositoryPipelinePipelineItemBadRequestException extends Ba */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/RemoveComposerRepositoryPipelinePipelineItemNotFoundException.php b/src/Exception/RemoveComposerRepositoryPipelinePipelineItemNotFoundException.php index fd45e764..7fe64f81 100644 --- a/src/Exception/RemoveComposerRepositoryPipelinePipelineItemNotFoundException.php +++ b/src/Exception/RemoveComposerRepositoryPipelinePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerRepositoryPipelinePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RemoveComposerRepositoryPipelinePipelineItemNotFoundException extends NotF */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php b/src/Exception/RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php index e98608d2..3a6e5ac6 100644 --- a/src/Exception/RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php +++ b/src/Exception/RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException e */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/RemovePipelineStepProbePipelineItemNotFoundException.php b/src/Exception/RemovePipelineStepProbePipelineItemNotFoundException.php index bad73813..bbfb61a4 100644 --- a/src/Exception/RemovePipelineStepProbePipelineItemNotFoundException.php +++ b/src/Exception/RemovePipelineStepProbePipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemovePipelineStepProbePipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RemovePipelineStepProbePipelineItemNotFoundException extends NotFoundExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RemoveValuesConfigurationItemBadRequestException.php b/src/Exception/RemoveValuesConfigurationItemBadRequestException.php index 264685c2..a54ca9aa 100644 --- a/src/Exception/RemoveValuesConfigurationItemBadRequestException.php +++ b/src/Exception/RemoveValuesConfigurationItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveValuesConfigurationItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class RemoveValuesConfigurationItemBadRequestException extends BadRequestExcepti */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/RemoveValuesConfigurationItemNotFoundException.php b/src/Exception/RemoveValuesConfigurationItemNotFoundException.php index 7ef28450..24d1dc96 100644 --- a/src/Exception/RemoveValuesConfigurationItemNotFoundException.php +++ b/src/Exception/RemoveValuesConfigurationItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveValuesConfigurationItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RemoveValuesConfigurationItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RemoveValuesConfigurationItemUnprocessableEntityException.php b/src/Exception/RemoveValuesConfigurationItemUnprocessableEntityException.php index aeb1d73f..b6aff325 100644 --- a/src/Exception/RemoveValuesConfigurationItemUnprocessableEntityException.php +++ b/src/Exception/RemoveValuesConfigurationItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveValuesConfigurationItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class RemoveValuesConfigurationItemUnprocessableEntityException extends Unproces */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/RemoveValuesSecretItemBadRequestException.php b/src/Exception/RemoveValuesSecretItemBadRequestException.php index c97ff7b2..c569be72 100644 --- a/src/Exception/RemoveValuesSecretItemBadRequestException.php +++ b/src/Exception/RemoveValuesSecretItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveValuesSecretItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class RemoveValuesSecretItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/RemoveValuesSecretItemNotFoundException.php b/src/Exception/RemoveValuesSecretItemNotFoundException.php index aef35043..6ca3da2d 100644 --- a/src/Exception/RemoveValuesSecretItemNotFoundException.php +++ b/src/Exception/RemoveValuesSecretItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveValuesSecretItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class RemoveValuesSecretItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/RemoveValuesSecretItemUnprocessableEntityException.php b/src/Exception/RemoveValuesSecretItemUnprocessableEntityException.php index 5fd65063..6a8c9cb0 100644 --- a/src/Exception/RemoveValuesSecretItemUnprocessableEntityException.php +++ b/src/Exception/RemoveValuesSecretItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class RemoveValuesSecretItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class RemoveValuesSecretItemUnprocessableEntityException extends UnprocessableEn */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ReorderPipelineStepsPipelineItemBadRequestException.php b/src/Exception/ReorderPipelineStepsPipelineItemBadRequestException.php index e8794a0d..af5f9948 100644 --- a/src/Exception/ReorderPipelineStepsPipelineItemBadRequestException.php +++ b/src/Exception/ReorderPipelineStepsPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ReorderPipelineStepsPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class ReorderPipelineStepsPipelineItemBadRequestException extends BadRequestExce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/ReorderPipelineStepsPipelineItemNotFoundException.php b/src/Exception/ReorderPipelineStepsPipelineItemNotFoundException.php index 0f076d6f..1df31dfb 100644 --- a/src/Exception/ReorderPipelineStepsPipelineItemNotFoundException.php +++ b/src/Exception/ReorderPipelineStepsPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ReorderPipelineStepsPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class ReorderPipelineStepsPipelineItemNotFoundException extends NotFoundExceptio */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/ReorderPipelineStepsPipelineItemUnprocessableEntityException.php b/src/Exception/ReorderPipelineStepsPipelineItemUnprocessableEntityException.php index 97289692..0a371f58 100644 --- a/src/Exception/ReorderPipelineStepsPipelineItemUnprocessableEntityException.php +++ b/src/Exception/ReorderPipelineStepsPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ReorderPipelineStepsPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class ReorderPipelineStepsPipelineItemUnprocessableEntityException extends Unpro */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ReorderPipelineStepsWorkflowJobItemBadRequestException.php b/src/Exception/ReorderPipelineStepsWorkflowJobItemBadRequestException.php new file mode 100644 index 00000000..26de70ee --- /dev/null +++ b/src/Exception/ReorderPipelineStepsWorkflowJobItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/ReorderPipelineStepsWorkflowJobItemNotFoundException.php b/src/Exception/ReorderPipelineStepsWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..38b1405a --- /dev/null +++ b/src/Exception/ReorderPipelineStepsWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/ReorderPipelineStepsWorkflowJobItemUnprocessableEntityException.php b/src/Exception/ReorderPipelineStepsWorkflowJobItemUnprocessableEntityException.php new file mode 100644 index 00000000..5f549c61 --- /dev/null +++ b/src/Exception/ReorderPipelineStepsWorkflowJobItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/ReplacePipelineStepPipelineItemBadRequestException.php b/src/Exception/ReplacePipelineStepPipelineItemBadRequestException.php index 16bae0e7..c03b351e 100644 --- a/src/Exception/ReplacePipelineStepPipelineItemBadRequestException.php +++ b/src/Exception/ReplacePipelineStepPipelineItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ReplacePipelineStepPipelineItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class ReplacePipelineStepPipelineItemBadRequestException extends BadRequestExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/ReplacePipelineStepPipelineItemNotFoundException.php b/src/Exception/ReplacePipelineStepPipelineItemNotFoundException.php index 8029f41f..640c397b 100644 --- a/src/Exception/ReplacePipelineStepPipelineItemNotFoundException.php +++ b/src/Exception/ReplacePipelineStepPipelineItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ReplacePipelineStepPipelineItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class ReplacePipelineStepPipelineItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/ReplacePipelineStepPipelineItemUnprocessableEntityException.php b/src/Exception/ReplacePipelineStepPipelineItemUnprocessableEntityException.php index 8b859a0e..9889b5f6 100644 --- a/src/Exception/ReplacePipelineStepPipelineItemUnprocessableEntityException.php +++ b/src/Exception/ReplacePipelineStepPipelineItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ReplacePipelineStepPipelineItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class ReplacePipelineStepPipelineItemUnprocessableEntityException extends Unproc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ReplacePipelineStepWorkflowJobItemBadRequestException.php b/src/Exception/ReplacePipelineStepWorkflowJobItemBadRequestException.php new file mode 100644 index 00000000..09093634 --- /dev/null +++ b/src/Exception/ReplacePipelineStepWorkflowJobItemBadRequestException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/ReplacePipelineStepWorkflowJobItemNotFoundException.php b/src/Exception/ReplacePipelineStepWorkflowJobItemNotFoundException.php new file mode 100644 index 00000000..7ed5bc4a --- /dev/null +++ b/src/Exception/ReplacePipelineStepWorkflowJobItemNotFoundException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/ReplacePipelineStepWorkflowJobItemUnprocessableEntityException.php b/src/Exception/ReplacePipelineStepWorkflowJobItemUnprocessableEntityException.php new file mode 100644 index 00000000..fcd01317 --- /dev/null +++ b/src/Exception/ReplacePipelineStepWorkflowJobItemUnprocessableEntityException.php @@ -0,0 +1,24 @@ +response = $response; + } + + public function getResponse(): ?\Psr\Http\Message\ResponseInterface + { + return $this->response; + } +} diff --git a/src/Exception/ResumeExecutionExecutionWorkflowItemBadRequestException.php b/src/Exception/ResumeExecutionExecutionWorkflowItemBadRequestException.php index f30aebb4..4d560b6d 100644 --- a/src/Exception/ResumeExecutionExecutionWorkflowItemBadRequestException.php +++ b/src/Exception/ResumeExecutionExecutionWorkflowItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ResumeExecutionExecutionWorkflowItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class ResumeExecutionExecutionWorkflowItemBadRequestException extends BadRequest */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/ResumeExecutionExecutionWorkflowItemNotFoundException.php b/src/Exception/ResumeExecutionExecutionWorkflowItemNotFoundException.php index 0034f855..388105df 100644 --- a/src/Exception/ResumeExecutionExecutionWorkflowItemNotFoundException.php +++ b/src/Exception/ResumeExecutionExecutionWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ResumeExecutionExecutionWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class ResumeExecutionExecutionWorkflowItemNotFoundException extends NotFoundExce */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/ResumeExecutionExecutionWorkflowItemUnprocessableEntityException.php b/src/Exception/ResumeExecutionExecutionWorkflowItemUnprocessableEntityException.php index d761ff08..5cdfc7f8 100644 --- a/src/Exception/ResumeExecutionExecutionWorkflowItemUnprocessableEntityException.php +++ b/src/Exception/ResumeExecutionExecutionWorkflowItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class ResumeExecutionExecutionWorkflowItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class ResumeExecutionExecutionWorkflowItemUnprocessableEntityException extends U */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/ServerException.php b/src/Exception/ServerException.php index 48a9eae9..fc41ebc3 100644 --- a/src/Exception/ServerException.php +++ b/src/Exception/ServerException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; interface ServerException extends ApiException diff --git a/src/Exception/SoftDeleteWorkflowItemBadRequestException.php b/src/Exception/SoftDeleteWorkflowItemBadRequestException.php index fa0e952a..cb5f44c4 100644 --- a/src/Exception/SoftDeleteWorkflowItemBadRequestException.php +++ b/src/Exception/SoftDeleteWorkflowItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class SoftDeleteWorkflowItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class SoftDeleteWorkflowItemBadRequestException extends BadRequestException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/SoftDeleteWorkflowItemNotFoundException.php b/src/Exception/SoftDeleteWorkflowItemNotFoundException.php index ddb123c8..3ccd48de 100644 --- a/src/Exception/SoftDeleteWorkflowItemNotFoundException.php +++ b/src/Exception/SoftDeleteWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class SoftDeleteWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class SoftDeleteWorkflowItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/SoftDeleteWorkflowItemUnprocessableEntityException.php b/src/Exception/SoftDeleteWorkflowItemUnprocessableEntityException.php index e1dba355..98983ff3 100644 --- a/src/Exception/SoftDeleteWorkflowItemUnprocessableEntityException.php +++ b/src/Exception/SoftDeleteWorkflowItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class SoftDeleteWorkflowItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class SoftDeleteWorkflowItemUnprocessableEntityException extends UnprocessableEn */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/TerminateExecutionExecutionWorkflowItemBadRequestException.php b/src/Exception/TerminateExecutionExecutionWorkflowItemBadRequestException.php index d947054f..ab672c6d 100644 --- a/src/Exception/TerminateExecutionExecutionWorkflowItemBadRequestException.php +++ b/src/Exception/TerminateExecutionExecutionWorkflowItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class TerminateExecutionExecutionWorkflowItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class TerminateExecutionExecutionWorkflowItemBadRequestException extends BadRequ */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/TerminateExecutionExecutionWorkflowItemNotFoundException.php b/src/Exception/TerminateExecutionExecutionWorkflowItemNotFoundException.php index 6791b388..8b3eb8d7 100644 --- a/src/Exception/TerminateExecutionExecutionWorkflowItemNotFoundException.php +++ b/src/Exception/TerminateExecutionExecutionWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class TerminateExecutionExecutionWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class TerminateExecutionExecutionWorkflowItemNotFoundException extends NotFoundE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/TerminateExecutionExecutionWorkflowItemUnprocessableEntityException.php b/src/Exception/TerminateExecutionExecutionWorkflowItemUnprocessableEntityException.php index 4f828e78..a6340f46 100644 --- a/src/Exception/TerminateExecutionExecutionWorkflowItemUnprocessableEntityException.php +++ b/src/Exception/TerminateExecutionExecutionWorkflowItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class TerminateExecutionExecutionWorkflowItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class TerminateExecutionExecutionWorkflowItemUnprocessableEntityException extend */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/UnexpectedStatusCodeException.php b/src/Exception/UnexpectedStatusCodeException.php new file mode 100644 index 00000000..360a86b3 --- /dev/null +++ b/src/Exception/UnexpectedStatusCodeException.php @@ -0,0 +1,13 @@ +response = $response; diff --git a/src/Exception/WorkflowCompilationWorkflowItemNotFoundException.php b/src/Exception/WorkflowCompilationWorkflowItemNotFoundException.php index 8ef85ad7..2448e865 100644 --- a/src/Exception/WorkflowCompilationWorkflowItemNotFoundException.php +++ b/src/Exception/WorkflowCompilationWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowCompilationWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class WorkflowCompilationWorkflowItemNotFoundException extends NotFoundException */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/WorkflowCompilationWorkflowItemUnprocessableEntityException.php b/src/Exception/WorkflowCompilationWorkflowItemUnprocessableEntityException.php index cd39e695..a96103d8 100644 --- a/src/Exception/WorkflowCompilationWorkflowItemUnprocessableEntityException.php +++ b/src/Exception/WorkflowCompilationWorkflowItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowCompilationWorkflowItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class WorkflowCompilationWorkflowItemUnprocessableEntityException extends Unproc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/WorkflowScheduleCrontabWorkflowItemBadRequestException.php b/src/Exception/WorkflowScheduleCrontabWorkflowItemBadRequestException.php index 0100d10a..8bbc2507 100644 --- a/src/Exception/WorkflowScheduleCrontabWorkflowItemBadRequestException.php +++ b/src/Exception/WorkflowScheduleCrontabWorkflowItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowScheduleCrontabWorkflowItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class WorkflowScheduleCrontabWorkflowItemBadRequestException extends BadRequestE */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/WorkflowScheduleCrontabWorkflowItemNotFoundException.php b/src/Exception/WorkflowScheduleCrontabWorkflowItemNotFoundException.php index 24b57233..eb1ed1db 100644 --- a/src/Exception/WorkflowScheduleCrontabWorkflowItemNotFoundException.php +++ b/src/Exception/WorkflowScheduleCrontabWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowScheduleCrontabWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class WorkflowScheduleCrontabWorkflowItemNotFoundException extends NotFoundExcep */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException.php b/src/Exception/WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException.php index 423a9b14..14a7c7c1 100644 --- a/src/Exception/WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException.php +++ b/src/Exception/WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class WorkflowScheduleCrontabWorkflowItemUnprocessableEntityException extends Un */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Exception/WorkflowScheduleImmediateWorkflowItemBadRequestException.php b/src/Exception/WorkflowScheduleImmediateWorkflowItemBadRequestException.php index 406ea8b5..1f9e4cc2 100644 --- a/src/Exception/WorkflowScheduleImmediateWorkflowItemBadRequestException.php +++ b/src/Exception/WorkflowScheduleImmediateWorkflowItemBadRequestException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowScheduleImmediateWorkflowItemBadRequestException extends BadRequestException @@ -17,7 +11,7 @@ class WorkflowScheduleImmediateWorkflowItemBadRequestException extends BadReques */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Invalid input'); $this->response = $response; diff --git a/src/Exception/WorkflowScheduleImmediateWorkflowItemNotFoundException.php b/src/Exception/WorkflowScheduleImmediateWorkflowItemNotFoundException.php index 87079444..e3853e3c 100644 --- a/src/Exception/WorkflowScheduleImmediateWorkflowItemNotFoundException.php +++ b/src/Exception/WorkflowScheduleImmediateWorkflowItemNotFoundException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowScheduleImmediateWorkflowItemNotFoundException extends NotFoundException @@ -17,7 +11,7 @@ class WorkflowScheduleImmediateWorkflowItemNotFoundException extends NotFoundExc */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Resource not found'); $this->response = $response; diff --git a/src/Exception/WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException.php b/src/Exception/WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException.php index c2cb2b0c..5dfae377 100644 --- a/src/Exception/WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException.php +++ b/src/Exception/WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Exception; class WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException extends UnprocessableEntityException @@ -17,7 +11,7 @@ class WorkflowScheduleImmediateWorkflowItemUnprocessableEntityException extends */ private $response; - public function __construct(\Psr\Http\Message\ResponseInterface $response = null) + public function __construct(?\Psr\Http\Message\ResponseInterface $response = null) { parent::__construct('Unprocessable entity'); $this->response = $response; diff --git a/src/Model/AbstractCloudEngine.php b/src/Model/AbstractCloudEngine.php deleted file mode 100644 index 0e5c4c0e..00000000 --- a/src/Model/AbstractCloudEngine.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string[]|null - */ - protected $environments; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * @return string[]|null - */ - public function getEnvironments(): ?array - { - return $this->environments; - } - - /** - * @param string[]|null $environments - */ - public function setEnvironments(?array $environments): self - { - $this->initialized['environments'] = true; - $this->environments = $environments; - - return $this; - } -} diff --git a/src/Model/AbstractCloudEngineJsonld.php b/src/Model/AbstractCloudEngineJsonld.php deleted file mode 100644 index 6e83f41f..00000000 --- a/src/Model/AbstractCloudEngineJsonld.php +++ /dev/null @@ -1,121 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string[]|null - */ - protected $environments; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - /** - * @return string[]|null - */ - public function getEnvironments(): ?array - { - return $this->environments; - } - - /** - * @param string[]|null $environments - */ - public function setEnvironments(?array $environments): self - { - $this->initialized['environments'] = true; - $this->environments = $environments; - - return $this; - } -} diff --git a/src/Model/AbstractPipeline.php b/src/Model/AbstractPipeline.php deleted file mode 100644 index 680a1892..00000000 --- a/src/Model/AbstractPipeline.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string[]|null - */ - protected $steps; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * @return string[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/AbstractPipelineJobRead.php b/src/Model/AbstractPipelineJobRead.php new file mode 100644 index 00000000..2328480e --- /dev/null +++ b/src/Model/AbstractPipelineJobRead.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var PipelineStepJobRead[]|null + */ + protected $steps; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return PipelineStepJobRead[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param PipelineStepJobRead[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/AbstractPipelineJsonld.php b/src/Model/AbstractPipelineJsonld.php deleted file mode 100644 index e694fc9b..00000000 --- a/src/Model/AbstractPipelineJsonld.php +++ /dev/null @@ -1,121 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string[]|null - */ - protected $steps; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - /** - * @return string[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/AbstractPipelineJsonldExecutionPipelineStepRead.php b/src/Model/AbstractPipelineJsonldExecutionPipelineStepRead.php new file mode 100644 index 00000000..9b5f6846 --- /dev/null +++ b/src/Model/AbstractPipelineJsonldExecutionPipelineStepRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/AbstractPipelineJsonldJobRead.php b/src/Model/AbstractPipelineJsonldJobRead.php new file mode 100644 index 00000000..872e8c8a --- /dev/null +++ b/src/Model/AbstractPipelineJsonldJobRead.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var PipelineStepJsonldJobRead[]|null + */ + protected $steps; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return PipelineStepJsonldJobRead[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param PipelineStepJsonldJobRead[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/AbstractPipelineJsonldStepRead.php b/src/Model/AbstractPipelineJsonldStepRead.php new file mode 100644 index 00000000..f6ceb6e9 --- /dev/null +++ b/src/Model/AbstractPipelineJsonldStepRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/Action.php b/src/Model/Action.php index c1574eec..67d57bc9 100644 --- a/src/Model/Action.php +++ b/src/Model/Action.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Action extends \ArrayObject @@ -19,7 +13,7 @@ class Action extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string[]|null diff --git a/src/Model/ActionActionRead.php b/src/Model/ActionActionRead.php new file mode 100644 index 00000000..7eff98ad --- /dev/null +++ b/src/Model/ActionActionRead.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/ActionJsonld.php b/src/Model/ActionJsonld.php index c00231fe..bf6d2638 100644 --- a/src/Model/ActionJsonld.php +++ b/src/Model/ActionJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ActionJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ActionJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -38,17 +32,11 @@ public function isInitialized($property): bool */ protected $configuration; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ActionJsonldActionRead.php b/src/Model/ActionJsonldActionRead.php new file mode 100644 index 00000000..e4f0ffa0 --- /dev/null +++ b/src/Model/ActionJsonldActionRead.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/ActionJsonldRead.php b/src/Model/ActionJsonldRead.php deleted file mode 100644 index 1bee711d..00000000 --- a/src/Model/ActionJsonldRead.php +++ /dev/null @@ -1,155 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/ActionRead.php b/src/Model/ActionRead.php deleted file mode 100644 index 441c41c6..00000000 --- a/src/Model/ActionRead.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/AkeneoInstance.php b/src/Model/AkeneoInstance.php index cf702aee..cda51897 100644 --- a/src/Model/AkeneoInstance.php +++ b/src/Model/AkeneoInstance.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoInstance extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoInstance extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInput.php b/src/Model/AkeneoInstanceAkeneoInstanceInput.php index 9a13ebf1..d98b15b1 100644 --- a/src/Model/AkeneoInstanceAkeneoInstanceInput.php +++ b/src/Model/AkeneoInstanceAkeneoInstanceInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoInstanceAkeneoInstanceInput extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoInstanceAkeneoInstanceInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php index b4d349df..0a077d2c 100644 --- a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php +++ b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoInstanceAkeneoInstanceInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoInstanceAkeneoInstanceInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -46,17 +40,11 @@ public function isInitialized($property): bool */ protected $secret; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/AkeneoInstanceJsonld.php b/src/Model/AkeneoInstanceJsonld.php index 9279ca96..91810cdf 100644 --- a/src/Model/AkeneoInstanceJsonld.php +++ b/src/Model/AkeneoInstanceJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoInstanceJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoInstanceJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -88,17 +82,11 @@ 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->initialized['context'] = true; diff --git a/src/Model/AkeneoLinkedAccount.php b/src/Model/AkeneoLinkedAccount.php index b68c0d34..b7fb2735 100644 --- a/src/Model/AkeneoLinkedAccount.php +++ b/src/Model/AkeneoLinkedAccount.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoLinkedAccount extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoLinkedAccount extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php index 8bcef97d..b4ff5953 100644 --- a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoLinkedAccountAkeneoLinkedAccountsInput extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php index dcb53185..f0625f16 100644 --- a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $token; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/AkeneoLinkedAccountJsonld.php b/src/Model/AkeneoLinkedAccountJsonld.php index e6a568be..3262f80a 100644 --- a/src/Model/AkeneoLinkedAccountJsonld.php +++ b/src/Model/AkeneoLinkedAccountJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoLinkedAccountJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoLinkedAccountJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -84,17 +78,11 @@ 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->initialized['context'] = true; diff --git a/src/Model/AkeneoOauthTokenJsonldRead.php b/src/Model/AkeneoOauthTokenJsonldRead.php index 2b10cb47..68d279a3 100644 --- a/src/Model/AkeneoOauthTokenJsonldRead.php +++ b/src/Model/AkeneoOauthTokenJsonldRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenJsonldRead extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -76,17 +70,11 @@ 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->initialized['context'] = true; diff --git a/src/Model/AkeneoOauthTokenOauthStateInput.php b/src/Model/AkeneoOauthTokenOauthStateInput.php index 4350eded..81fe58be 100644 --- a/src/Model/AkeneoOauthTokenOauthStateInput.php +++ b/src/Model/AkeneoOauthTokenOauthStateInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenOauthStateInput extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenOauthStateInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php index 9248da46..a7f96625 100644 --- a/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php +++ b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenOauthStateInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenOauthStateInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $scope; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php index 06af8bf2..d8c1bc5f 100644 --- a/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php +++ b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenOauthStateOutputJsonldRead extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenOauthStateOutputJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/AkeneoOauthTokenOauthTokenInput.php b/src/Model/AkeneoOauthTokenOauthTokenInput.php index e07b3f73..d9842c43 100644 --- a/src/Model/AkeneoOauthTokenOauthTokenInput.php +++ b/src/Model/AkeneoOauthTokenOauthTokenInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenOauthTokenInput extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenOauthTokenInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php index 9aeb4ee4..fa0ffc40 100644 --- a/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php +++ b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenOauthTokenInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenOauthTokenInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php index fe46aef0..64046d61 100644 --- a/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php +++ b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenOauthTokenOutputJsonldRead extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenOauthTokenOutputJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AkeneoOauthTokenRead.php b/src/Model/AkeneoOauthTokenRead.php index 6f6d1c67..c1cfab2b 100644 --- a/src/Model/AkeneoOauthTokenRead.php +++ b/src/Model/AkeneoOauthTokenRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AkeneoOauthTokenRead extends \ArrayObject @@ -19,7 +13,7 @@ class AkeneoOauthTokenRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationMeGetLdjsonResponse200.php b/src/Model/AuthenticationMeGetLdjsonResponse200.php index 55805d0c..cb9e8d17 100644 --- a/src/Model/AuthenticationMeGetLdjsonResponse200.php +++ b/src/Model/AuthenticationMeGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationMeGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationMeGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserJsonld[]|null + * @var UserJsonldUserRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserJsonld[]|null + * @return UserJsonldUserRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserJsonld[]|null $hydraMember + * @param UserJsonldUserRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearch.php index acf0b0a5..fae4abdb 100644 --- a/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationMeGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationMeGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem.php index 60495c4d..c38010c9 100644 --- a/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationMeGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationMeGetLdjsonResponse200HydraView.php index 7a21a02b..bb50ec1a 100644 --- a/src/Model/AuthenticationMeGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationMeGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationMeGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationMeGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200.php b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200.php index bc53d779..491056bf 100644 --- a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOffersIdOptionsGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var OptionJsonld[]|null diff --git a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch.php index c5d24f36..127cb615 100644 --- a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch extends \Arra public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 40932350..1f39db58 100644 --- a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingIt public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView.php index 6b8adb10..92ba287b 100644 --- a/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200.php b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200.php index 84b0daca..ae320962 100644 --- a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationOrganizationsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var OrganizationJsonld[]|null + * @var OrganizationJsonldOrganizationRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return OrganizationJsonld[]|null + * @return OrganizationJsonldOrganizationRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param OrganizationJsonld[]|null $hydraMember + * @param OrganizationJsonldOrganizationRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearch.php index f3457733..27d1b45c 100644 --- a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsGetLdjsonResponse200HydraSearch extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index d4dbd334..30c7e6a4 100644 --- a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraView.php index 44250d60..0ae38f69 100644 --- a/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsGetLdjsonResponse200HydraView extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200.php b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200.php index 101f43bd..b2651884 100644 --- a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200 extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserAuthorizationJsonld[]|null + * @var UserAuthorizationJsonldAuthorizationRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserAuthorizationJsonld[]|null + * @return UserAuthorizationJsonldAuthorizationRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserAuthorizationJsonld[]|null $hydraMember + * @param UserAuthorizationJsonldAuthorizationRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch.php index 0a47585b..9b1c42cf 100644 --- a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index cb3fb990..2a17346f 100644 --- a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView.php index 7dbced22..b955ded8 100644 --- a/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView e public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200.php b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200.php index b8654f67..6bcd87ec 100644 --- a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200 ext public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserJsonld[]|null + * @var UserJsonldUserRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserJsonld[]|null + * @return UserJsonldUserRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserJsonld[]|null $hydraMember + * @param UserJsonldUserRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch.php index af925a21..7a46aa80 100644 --- a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Hydr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem.php index b4f01004..e253dc96 100644 --- a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Hydr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView.php index 9b5ac707..b0226b5a 100644 --- a/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Hydr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200.php b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200.php index bb47f710..461ad700 100644 --- a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200.php +++ b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdUsersGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200 extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserJsonld[]|null + * @var UserJsonldUserRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserJsonld[]|null + * @return UserJsonldUserRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserJsonld[]|null $hydraMember + * @param UserJsonldUserRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch.php index 99f4f06c..92c114d2 100644 --- a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php index 6fd50ff2..9bb5ff07 100644 --- a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMapp public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView.php index edd6fe34..f8be9ff9 100644 --- a/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200.php b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200.php index 1935f977..d09bb81a 100644 --- a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200.php +++ b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200 extends \Array public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var WorkspaceJsonld[]|null + * @var WorkspaceJsonldWorkspaceRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return WorkspaceJsonld[]|null + * @return WorkspaceJsonldWorkspaceRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param WorkspaceJsonld[]|null $hydraMember + * @param WorkspaceJsonldWorkspaceRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch.php index 2d1534a2..7ab354cb 100644 --- a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch ext public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php index 62096768..50d7d76c 100644 --- a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView.php index 25b0032a..40ac17c7 100644 --- a/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView exten public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200.php b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200.php index de55c386..871f347a 100644 --- a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200.php +++ b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionOffersGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var SubscriptionOfferJsonldRead[]|null diff --git a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch.php index 53ba6ee3..ef4ecfb3 100644 --- a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem.php index 2d5960c2..d6bbb596 100644 --- a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappin public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView.php index aa4563db..bc0cf4c2 100644 --- a/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200.php b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200.php index afaaddae..fc1b5eb2 100644 --- a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var SubscriptionJsonld[]|null diff --git a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch.php index 7d4b0574..dd8c0d6a 100644 --- a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 4c45adbb..3d3ca769 100644 --- a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraView.php index f63a8e7d..d359949f 100644 --- a/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationSubscriptionsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsGetLdjsonResponse200HydraView extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200.php index 2bfa1103..14374cd0 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200 extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var SubscriptionOptionJsonld[]|null diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch.php index 3645e790..72f9dd5d 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch extend public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 14a687c1..9bb8d05e 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMa public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView.php index 41c45096..9bb4ef89 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200.php b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200.php index 97d089a0..9e985945 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUserAuthorizationsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserAuthorizationJsonld[]|null + * @var UserAuthorizationJsonldAuthorizationRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserAuthorizationJsonld[]|null + * @return UserAuthorizationJsonldAuthorizationRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserAuthorizationJsonld[]|null $hydraMember + * @param UserAuthorizationJsonldAuthorizationRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch.php index 6352ffca..8ba92f79 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 76701d8b..34ec25e8 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappin public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView.php index 8c3591fb..8f235d8b 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationUsersGetLdjsonResponse200.php b/src/Model/AuthenticationUsersGetLdjsonResponse200.php index e34b444c..88947a06 100644 --- a/src/Model/AuthenticationUsersGetLdjsonResponse200.php +++ b/src/Model/AuthenticationUsersGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUsersGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationUsersGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserJsonld[]|null + * @var UserJsonldUserRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserJsonld[]|null + * @return UserJsonldUserRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserJsonld[]|null $hydraMember + * @param UserJsonldUserRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearch.php index 3e3b1c04..d34ae0d1 100644 --- a/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUsersGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationUsersGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php index 32a9ccee..d91eda32 100644 --- a/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationUsersGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUsersGetLdjsonResponse200HydraView.php index 2b620c98..71e0697f 100644 --- a/src/Model/AuthenticationUsersGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationUsersGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationUsersGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationUsersGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200.php b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200.php new file mode 100644 index 00000000..0884e4ee --- /dev/null +++ b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var OrganizationJsonldOrganizationRead[]|null + */ + protected $hydraMember; + /** + * @var int|null + */ + protected $hydraTotalItems; + /** + * @var AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView|null + */ + protected $hydraView; + /** + * @var AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch|null + */ + protected $hydraSearch; + + /** + * @return OrganizationJsonldOrganizationRead[]|null + */ + public function getHydraMember(): ?array + { + return $this->hydraMember; + } + + /** + * @param OrganizationJsonldOrganizationRead[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->initialized['hydraMember'] = true; + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->initialized['hydraTotalItems'] = true; + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView $hydraView): self + { + $this->initialized['hydraView'] = true; + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch $hydraSearch): self + { + $this->initialized['hydraSearch'] = true; + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch.php new file mode 100644 index 00000000..62851288 --- /dev/null +++ b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraTemplate; + /** + * @var string|null + */ + protected $hydraVariableRepresentation; + /** + * @var AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + protected $hydraMapping; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->initialized['hydraTemplate'] = true; + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->initialized['hydraVariableRepresentation'] = true; + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->initialized['hydraMapping'] = true; + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..57428071 --- /dev/null +++ b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $variable; + /** + * @var string|null + */ + protected $property; + /** + * @var bool|null + */ + protected $required; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->initialized['variable'] = true; + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->initialized['property'] = true; + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->initialized['required'] = true; + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView.php new file mode 100644 index 00000000..bc3d952a --- /dev/null +++ b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraFirst; + /** + * @var string|null + */ + protected $hydraLast; + /** + * @var string|null + */ + protected $hydraPrevious; + /** + * @var string|null + */ + protected $hydraNext; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->initialized['hydraFirst'] = true; + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->initialized['hydraLast'] = true; + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->initialized['hydraPrevious'] = true; + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->initialized['hydraNext'] = true; + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200.php new file mode 100644 index 00000000..31b1519d --- /dev/null +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var UserAuthorizationJsonldAuthorizationRead[]|null + */ + protected $hydraMember; + /** + * @var int|null + */ + protected $hydraTotalItems; + /** + * @var AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView|null + */ + protected $hydraView; + /** + * @var AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch|null + */ + protected $hydraSearch; + + /** + * @return UserAuthorizationJsonldAuthorizationRead[]|null + */ + public function getHydraMember(): ?array + { + return $this->hydraMember; + } + + /** + * @param UserAuthorizationJsonldAuthorizationRead[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->initialized['hydraMember'] = true; + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->initialized['hydraTotalItems'] = true; + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView $hydraView): self + { + $this->initialized['hydraView'] = true; + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch $hydraSearch): self + { + $this->initialized['hydraSearch'] = true; + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch.php new file mode 100644 index 00000000..40a4b458 --- /dev/null +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraTemplate; + /** + * @var string|null + */ + protected $hydraVariableRepresentation; + /** + * @var AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + protected $hydraMapping; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->initialized['hydraTemplate'] = true; + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->initialized['hydraVariableRepresentation'] = true; + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->initialized['hydraMapping'] = true; + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..aafbe250 --- /dev/null +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $variable; + /** + * @var string|null + */ + protected $property; + /** + * @var bool|null + */ + protected $required; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->initialized['variable'] = true; + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->initialized['property'] = true; + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->initialized['required'] = true; + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView.php new file mode 100644 index 00000000..8249bfc9 --- /dev/null +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraFirst; + /** + * @var string|null + */ + protected $hydraLast; + /** + * @var string|null + */ + protected $hydraPrevious; + /** + * @var string|null + */ + protected $hydraNext; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->initialized['hydraFirst'] = true; + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->initialized['hydraLast'] = true; + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->initialized['hydraPrevious'] = true; + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->initialized['hydraNext'] = true; + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200.php new file mode 100644 index 00000000..6aed69a5 --- /dev/null +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var WorkspaceJsonldWorkspaceRead[]|null + */ + protected $hydraMember; + /** + * @var int|null + */ + protected $hydraTotalItems; + /** + * @var AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView|null + */ + protected $hydraView; + /** + * @var AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch|null + */ + protected $hydraSearch; + + /** + * @return WorkspaceJsonldWorkspaceRead[]|null + */ + public function getHydraMember(): ?array + { + return $this->hydraMember; + } + + /** + * @param WorkspaceJsonldWorkspaceRead[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->initialized['hydraMember'] = true; + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->initialized['hydraTotalItems'] = true; + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView $hydraView): self + { + $this->initialized['hydraView'] = true; + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch $hydraSearch): self + { + $this->initialized['hydraSearch'] = true; + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch.php new file mode 100644 index 00000000..1319faa7 --- /dev/null +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraTemplate; + /** + * @var string|null + */ + protected $hydraVariableRepresentation; + /** + * @var AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + protected $hydraMapping; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->initialized['hydraTemplate'] = true; + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->initialized['hydraVariableRepresentation'] = true; + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->initialized['hydraMapping'] = true; + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..1255571c --- /dev/null +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $variable; + /** + * @var string|null + */ + protected $property; + /** + * @var bool|null + */ + protected $required; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->initialized['variable'] = true; + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->initialized['property'] = true; + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->initialized['required'] = true; + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView.php new file mode 100644 index 00000000..205188ee --- /dev/null +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraFirst; + /** + * @var string|null + */ + protected $hydraLast; + /** + * @var string|null + */ + protected $hydraPrevious; + /** + * @var string|null + */ + protected $hydraNext; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->initialized['hydraFirst'] = true; + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->initialized['hydraLast'] = true; + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->initialized['hydraPrevious'] = true; + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->initialized['hydraNext'] = true; + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200.php b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200.php index 08f4c9fa..e438a8a8 100644 --- a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200.php +++ b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationWorkspacesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var WorkspaceJsonld[]|null + * @var WorkspaceJsonldWorkspaceRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return WorkspaceJsonld[]|null + * @return WorkspaceJsonldWorkspaceRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param WorkspaceJsonld[]|null $hydraMember + * @param WorkspaceJsonldWorkspaceRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearch.php index f9b5967e..874949d2 100644 --- a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesGetLdjsonResponse200HydraSearch extends \ArrayObje public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php index 99c47775..f48e3bd5 100644 --- a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem ex public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraView.php index b62b4ef2..f08d345b 100644 --- a/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspacesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200.php b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200.php index 7eb61d83..6e69166d 100644 --- a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200.php +++ b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200 extends \Arra public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserAuthorizationJsonld[]|null + * @var UserAuthorizationJsonldAuthorizationRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserAuthorizationJsonld[]|null + * @return UserAuthorizationJsonldAuthorizationRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserAuthorizationJsonld[]|null $hydraMember + * @param UserAuthorizationJsonldAuthorizationRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch.php index 927deb24..b701d5cc 100644 --- a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch ex public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index bbe86feb..3e874ecf 100644 --- a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHyd public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView.php index 95a7e631..175c62d4 100644 --- a/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView exte public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200.php b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200.php index ec0cfff1..24f86054 100644 --- a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200.php +++ b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdUsersGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var UserJsonld[]|null + * @var UserJsonldUserRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return UserJsonld[]|null + * @return UserJsonldUserRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param UserJsonld[]|null $hydraMember + * @param UserJsonldUserRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch.php index 0a7b39d2..150fe024 100644 --- a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch extends \Ar public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php index 89a5f687..ba9d049f 100644 --- a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMapping public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView.php index d99c0f7b..abb97d6f 100644 --- a/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView extends \Arra public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/BigDecimal.php b/src/Model/BigDecimal.php index a3cb819e..0b990f27 100644 --- a/src/Model/BigDecimal.php +++ b/src/Model/BigDecimal.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class BigDecimal extends \ArrayObject @@ -19,7 +13,7 @@ class BigDecimal extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * The scale (number of digits after the decimal point) of this decimal number. @@ -28,8 +22,6 @@ public function isInitialized($property): bool */ protected $scale; /** - * {@inheritdoc} - * * @var int|null */ protected $sign; @@ -105,17 +97,11 @@ public function setScale(?int $scale): self return $this; } - /** - * {@inheritdoc} - */ public function getSign(): ?int { return $this->sign; } - /** - * {@inheritdoc} - */ public function setSign(?int $sign): self { $this->initialized['sign'] = true; diff --git a/src/Model/BigDecimalJsonld.php b/src/Model/BigDecimalJsonld.php index 824e7475..128a5376 100644 --- a/src/Model/BigDecimalJsonld.php +++ b/src/Model/BigDecimalJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class BigDecimalJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class BigDecimalJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -40,8 +34,6 @@ public function isInitialized($property): bool */ protected $scale; /** - * {@inheritdoc} - * * @var int|null */ protected $sign; @@ -98,17 +90,11 @@ public function isInitialized($property): bool */ protected $positiveOrZero; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -162,17 +148,11 @@ public function setScale(?int $scale): self return $this; } - /** - * {@inheritdoc} - */ public function getSign(): ?int { return $this->sign; } - /** - * {@inheritdoc} - */ public function setSign(?int $sign): self { $this->initialized['sign'] = true; diff --git a/src/Model/BigInteger.php b/src/Model/BigInteger.php index 1a5b156f..a810e01b 100644 --- a/src/Model/BigInteger.php +++ b/src/Model/BigInteger.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class BigInteger extends \ArrayObject @@ -19,7 +13,7 @@ class BigInteger extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. @@ -46,8 +40,6 @@ public function isInitialized($property): bool */ protected $odd; /** - * {@inheritdoc} - * * @var int|null */ protected $sign; @@ -158,17 +150,11 @@ public function setOdd(?bool $odd): self return $this; } - /** - * {@inheritdoc} - */ public function getSign(): ?int { return $this->sign; } - /** - * {@inheritdoc} - */ public function setSign(?int $sign): self { $this->initialized['sign'] = true; diff --git a/src/Model/BigIntegerJsonld.php b/src/Model/BigIntegerJsonld.php index bba1d79c..c7d1d2dc 100644 --- a/src/Model/BigIntegerJsonld.php +++ b/src/Model/BigIntegerJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class BigIntegerJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class BigIntegerJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -58,8 +52,6 @@ public function isInitialized($property): bool */ protected $odd; /** - * {@inheritdoc} - * * @var int|null */ protected $sign; @@ -94,17 +86,11 @@ public function isInitialized($property): bool */ protected $positiveOrZero; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -215,17 +201,11 @@ public function setOdd(?bool $odd): self return $this; } - /** - * {@inheritdoc} - */ public function getSign(): ?int { return $this->sign; } - /** - * {@inheritdoc} - */ public function setSign(?int $sign): self { $this->initialized['sign'] = true; diff --git a/src/Model/BigNumber.php b/src/Model/BigNumber.php index b5e6d912..5882b62d 100644 --- a/src/Model/BigNumber.php +++ b/src/Model/BigNumber.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class BigNumber extends \ArrayObject @@ -19,7 +13,7 @@ class BigNumber extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * Checks if this number equals zero. diff --git a/src/Model/BigNumberJsonld.php b/src/Model/BigNumberJsonld.php index 2587e929..36300a37 100644 --- a/src/Model/BigNumberJsonld.php +++ b/src/Model/BigNumberJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class BigNumberJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class BigNumberJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -70,17 +64,11 @@ public function isInitialized($property): bool */ protected $sign; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/Buyable.php b/src/Model/Buyable.php index 6e4a3dc5..76caedc1 100644 --- a/src/Model/Buyable.php +++ b/src/Model/Buyable.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Buyable extends \ArrayObject @@ -19,7 +13,7 @@ class Buyable extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -50,7 +44,7 @@ public function isInitialized($property): bool */ protected $features; /** - * @var Price[]|null + * @var BuyablePrice[]|null */ protected $priceList; /** @@ -168,7 +162,7 @@ public function setFeatures(?array $features): self } /** - * @return Price[]|null + * @return BuyablePrice[]|null */ public function getPriceList(): ?array { @@ -176,7 +170,7 @@ public function getPriceList(): ?array } /** - * @param Price[]|null $priceList + * @param BuyablePrice[]|null $priceList */ public function setPriceList(?array $priceList): self { diff --git a/src/Model/BuyableJsonld.php b/src/Model/BuyableJsonld.php index 7fc90e20..1fd5a564 100644 --- a/src/Model/BuyableJsonld.php +++ b/src/Model/BuyableJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class BuyableJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class BuyableJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -62,7 +56,7 @@ public function isInitialized($property): bool */ protected $features; /** - * @var PriceJsonld[]|null + * @var BuyablePriceJsonld[]|null */ protected $priceList; /** @@ -82,17 +76,11 @@ public function isInitialized($property): bool */ protected $activeUntil; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -225,7 +213,7 @@ public function setFeatures(?array $features): self } /** - * @return PriceJsonld[]|null + * @return BuyablePriceJsonld[]|null */ public function getPriceList(): ?array { @@ -233,7 +221,7 @@ public function getPriceList(): ?array } /** - * @param PriceJsonld[]|null $priceList + * @param BuyablePriceJsonld[]|null $priceList */ public function setPriceList(?array $priceList): self { diff --git a/src/Model/BuyablePrice.php b/src/Model/BuyablePrice.php new file mode 100644 index 00000000..e9e67e0e --- /dev/null +++ b/src/Model/BuyablePrice.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var Buyable|null + */ + protected $buyable; + /** + * @var SubscriptionType|null + */ + protected $type; + /** + * @var Price|null + */ + protected $amount; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getBuyable(): ?Buyable + { + return $this->buyable; + } + + public function setBuyable(?Buyable $buyable): self + { + $this->initialized['buyable'] = true; + $this->buyable = $buyable; + + return $this; + } + + public function getType(): ?SubscriptionType + { + return $this->type; + } + + public function setType(?SubscriptionType $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getAmount(): ?Price + { + return $this->amount; + } + + public function setAmount(?Price $amount): self + { + $this->initialized['amount'] = true; + $this->amount = $amount; + + return $this; + } +} diff --git a/src/Model/BuyablePriceJsonld.php b/src/Model/BuyablePriceJsonld.php new file mode 100644 index 00000000..dd28e28b --- /dev/null +++ b/src/Model/BuyablePriceJsonld.php @@ -0,0 +1,137 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var BuyableJsonld|null + */ + protected $buyable; + /** + * @var SubscriptionTypeJsonld|null + */ + protected $type2; + /** + * @var PriceJsonld|null + */ + protected $amount; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getBuyable(): ?BuyableJsonld + { + return $this->buyable; + } + + public function setBuyable(?BuyableJsonld $buyable): self + { + $this->initialized['buyable'] = true; + $this->buyable = $buyable; + + return $this; + } + + public function getType2(): ?SubscriptionTypeJsonld + { + return $this->type2; + } + + public function setType2(?SubscriptionTypeJsonld $type2): self + { + $this->initialized['type2'] = true; + $this->type2 = $type2; + + return $this; + } + + public function getAmount(): ?PriceJsonld + { + return $this->amount; + } + + public function setAmount(?PriceJsonld $amount): self + { + $this->initialized['amount'] = true; + $this->amount = $amount; + + return $this; + } +} diff --git a/src/Model/BuyablePriceJsonldRead.php b/src/Model/BuyablePriceJsonldRead.php new file mode 100644 index 00000000..17aa9fb5 --- /dev/null +++ b/src/Model/BuyablePriceJsonldRead.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var SubscriptionTypeJsonldRead|null + */ + protected $type2; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getType2(): ?SubscriptionTypeJsonldRead + { + return $this->type2; + } + + public function setType2(?SubscriptionTypeJsonldRead $type2): self + { + $this->initialized['type2'] = true; + $this->type2 = $type2; + + return $this; + } +} diff --git a/src/Model/BuyablePriceRead.php b/src/Model/BuyablePriceRead.php new file mode 100644 index 00000000..92dc068d --- /dev/null +++ b/src/Model/BuyablePriceRead.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var mixed[]|null + */ + protected $type; + + /** + * @return mixed[]|null + */ + public function getType(): ?iterable + { + return $this->type; + } + + /** + * @param mixed[]|null $type + */ + public function setType(?iterable $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/ColorJsonldRead.php b/src/Model/ColorJsonldRead.php index 50ea2a7e..2ad9d44f 100644 --- a/src/Model/ColorJsonldRead.php +++ b/src/Model/ColorJsonldRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ColorJsonldRead extends \ArrayObject @@ -19,7 +13,7 @@ class ColorJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/Compilation.php b/src/Model/Compilation.php deleted file mode 100644 index 1a27fc2c..00000000 --- a/src/Model/Compilation.php +++ /dev/null @@ -1,160 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var int|null - */ - protected $currentVersion; - /** - * @var \DateTime|null - */ - protected $createdAt; - /** - * @var string|null - */ - protected $workflow; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $owner; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } - - public function getCreatedAt(): ?\DateTime - { - return $this->createdAt; - } - - public function setCreatedAt(?\DateTime $createdAt): self - { - $this->initialized['createdAt'] = true; - $this->createdAt = $createdAt; - - return $this; - } - - public function getWorkflow(): ?string - { - return $this->workflow; - } - - public function setWorkflow(?string $workflow): self - { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; - - return $this; - } - - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getOwner(): ?string - { - return $this->owner; - } - - public function setOwner(?string $owner): self - { - $this->initialized['owner'] = true; - $this->owner = $owner; - - return $this; - } -} diff --git a/src/Model/CompilationCompilationRead.php b/src/Model/CompilationCompilationRead.php new file mode 100644 index 00000000..3725530a --- /dev/null +++ b/src/Model/CompilationCompilationRead.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var \DateTime|null + */ + protected $createdAt; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $pipeline; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + public function getCreatedAt(): ?\DateTime + { + return $this->createdAt; + } + + public function setCreatedAt(?\DateTime $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } +} diff --git a/src/Model/CompilationJsonld.php b/src/Model/CompilationJsonld.php deleted file mode 100644 index 5722ce75..00000000 --- a/src/Model/CompilationJsonld.php +++ /dev/null @@ -1,217 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var int|null - */ - protected $currentVersion; - /** - * @var \DateTime|null - */ - protected $createdAt; - /** - * @var string|null - */ - protected $workflow; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $owner; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } - - public function getCreatedAt(): ?\DateTime - { - return $this->createdAt; - } - - public function setCreatedAt(?\DateTime $createdAt): self - { - $this->initialized['createdAt'] = true; - $this->createdAt = $createdAt; - - return $this; - } - - public function getWorkflow(): ?string - { - return $this->workflow; - } - - public function setWorkflow(?string $workflow): self - { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; - - return $this; - } - - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getOwner(): ?string - { - return $this->owner; - } - - public function setOwner(?string $owner): self - { - $this->initialized['owner'] = true; - $this->owner = $owner; - - return $this; - } -} diff --git a/src/Model/CompilationJsonldCompilationRead.php b/src/Model/CompilationJsonldCompilationRead.php new file mode 100644 index 00000000..70e04110 --- /dev/null +++ b/src/Model/CompilationJsonldCompilationRead.php @@ -0,0 +1,154 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var \DateTime|null + */ + protected $createdAt; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $pipeline; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + public function getCreatedAt(): ?\DateTime + { + return $this->createdAt; + } + + public function setCreatedAt(?\DateTime $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } +} diff --git a/src/Model/Composer.php b/src/Model/Composer.php index f6fcd4df..7bca9f2c 100644 --- a/src/Model/Composer.php +++ b/src/Model/Composer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Composer extends \ArrayObject @@ -19,7 +13,7 @@ class Composer extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var ComposerAutoload[]|null diff --git a/src/Model/ComposerAuthentication.php b/src/Model/ComposerAuthentication.php index a73ee07a..b982e418 100644 --- a/src/Model/ComposerAuthentication.php +++ b/src/Model/ComposerAuthentication.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ComposerAuthentication extends \ArrayObject @@ -19,7 +13,7 @@ class ComposerAuthentication extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ComposerAuthenticationJsonld.php b/src/Model/ComposerAuthenticationJsonld.php index 702bf618..711b67be 100644 --- a/src/Model/ComposerAuthenticationJsonld.php +++ b/src/Model/ComposerAuthenticationJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ComposerAuthenticationJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ComposerAuthenticationJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $token; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ComposerAutoload.php b/src/Model/ComposerAutoload.php index 5a92cd63..54b76617 100644 --- a/src/Model/ComposerAutoload.php +++ b/src/Model/ComposerAutoload.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ComposerAutoload extends \ArrayObject @@ -19,7 +13,7 @@ class ComposerAutoload extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ComposerAutoloadJsonld.php b/src/Model/ComposerAutoloadJsonld.php index 8dacdb53..6f12863a 100644 --- a/src/Model/ComposerAutoloadJsonld.php +++ b/src/Model/ComposerAutoloadJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ComposerAutoloadJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ComposerAutoloadJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -46,17 +40,11 @@ public function isInitialized($property): bool */ protected $paths; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ComposerJsonld.php b/src/Model/ComposerJsonld.php index efe5faa1..c886a623 100644 --- a/src/Model/ComposerJsonld.php +++ b/src/Model/ComposerJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ComposerJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ComposerJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $authentications; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ComposerRepository.php b/src/Model/ComposerRepository.php index b570436f..086f43c2 100644 --- a/src/Model/ComposerRepository.php +++ b/src/Model/ComposerRepository.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ComposerRepository extends \ArrayObject @@ -19,7 +13,7 @@ class ComposerRepository extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ComposerRepositoryJsonld.php b/src/Model/ComposerRepositoryJsonld.php index 2ff2cf6a..3b7706ce 100644 --- a/src/Model/ComposerRepositoryJsonld.php +++ b/src/Model/ComposerRepositoryJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ComposerRepositoryJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ComposerRepositoryJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -46,17 +40,11 @@ public function isInitialized($property): bool */ protected $url; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/Configuration.php b/src/Model/Configuration.php deleted file mode 100644 index 0700b246..00000000 --- a/src/Model/Configuration.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationChangeConfigurationValueInput.php b/src/Model/ConfigurationChangeConfigurationValueInput.php deleted file mode 100644 index e6a5c75b..00000000 --- a/src/Model/ConfigurationChangeConfigurationValueInput.php +++ /dev/null @@ -1,70 +0,0 @@ -initialized); - } - /** - * @var string[]|null - */ - protected $contents; - /** - * @var mixed[]|null - */ - protected $iterator; - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } - - /** - * @return mixed[]|null - */ - public function getIterator(): ?iterable - { - return $this->iterator; - } - - /** - * @param mixed[]|null $iterator - */ - public function setIterator(?iterable $iterator): self - { - $this->initialized['iterator'] = true; - $this->iterator = $iterator; - - return $this; - } -} diff --git a/src/Model/ConfigurationChangeConfigurationValueInputConfigurationUpdate.php b/src/Model/ConfigurationChangeConfigurationValueInputConfigurationUpdate.php new file mode 100644 index 00000000..ce47ff7b --- /dev/null +++ b/src/Model/ConfigurationChangeConfigurationValueInputConfigurationUpdate.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string[]|null + */ + protected $contents; + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/ConfigurationChangeConfigurationValueInputJsonld.php b/src/Model/ConfigurationChangeConfigurationValueInputJsonld.php deleted file mode 100644 index d370aaa6..00000000 --- a/src/Model/ConfigurationChangeConfigurationValueInputJsonld.php +++ /dev/null @@ -1,121 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string[]|null - */ - protected $contents; - /** - * @var TraversableJsonld|null - */ - protected $iterator; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } - - public function getIterator(): ?TraversableJsonld - { - return $this->iterator; - } - - public function setIterator(?TraversableJsonld $iterator): self - { - $this->initialized['iterator'] = true; - $this->iterator = $iterator; - - return $this; - } -} diff --git a/src/Model/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate.php b/src/Model/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate.php new file mode 100644 index 00000000..16e2d763 --- /dev/null +++ b/src/Model/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/ConfigurationConfigurationUpdate.php b/src/Model/ConfigurationConfigurationUpdate.php new file mode 100644 index 00000000..b22dd73e --- /dev/null +++ b/src/Model/ConfigurationConfigurationUpdate.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } +} diff --git a/src/Model/ConfigurationConfigurationView.php b/src/Model/ConfigurationConfigurationView.php new file mode 100644 index 00000000..3756d8b1 --- /dev/null +++ b/src/Model/ConfigurationConfigurationView.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string[]|null + */ + protected $contents; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/ConfigurationCreateConfigurationInput.php b/src/Model/ConfigurationCreateConfigurationInput.php deleted file mode 100644 index 67a012c1..00000000 --- a/src/Model/ConfigurationCreateConfigurationInput.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string[]|null - */ - protected $contents; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $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->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationCreateConfigurationInputConfigurationCreate.php b/src/Model/ConfigurationCreateConfigurationInputConfigurationCreate.php new file mode 100644 index 00000000..00f7674a --- /dev/null +++ b/src/Model/ConfigurationCreateConfigurationInputConfigurationCreate.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $contents; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/ConfigurationCreateConfigurationInputJsonld.php b/src/Model/ConfigurationCreateConfigurationInputJsonld.php deleted file mode 100644 index 177c5a12..00000000 --- a/src/Model/ConfigurationCreateConfigurationInputJsonld.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $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->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationCreateConfigurationInputJsonldConfigurationCreate.php b/src/Model/ConfigurationCreateConfigurationInputJsonldConfigurationCreate.php new file mode 100644 index 00000000..92487dbb --- /dev/null +++ b/src/Model/ConfigurationCreateConfigurationInputJsonldConfigurationCreate.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/ConfigurationEdit.php b/src/Model/ConfigurationEdit.php deleted file mode 100644 index 1e0f23d8..00000000 --- a/src/Model/ConfigurationEdit.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/src/Model/ConfigurationJsonld.php b/src/Model/ConfigurationJsonld.php deleted file mode 100644 index f92cc79d..00000000 --- a/src/Model/ConfigurationJsonld.php +++ /dev/null @@ -1,206 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationJsonldConfigurationUpdate.php b/src/Model/ConfigurationJsonldConfigurationUpdate.php new file mode 100644 index 00000000..4b4b8738 --- /dev/null +++ b/src/Model/ConfigurationJsonldConfigurationUpdate.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } +} diff --git a/src/Model/ConfigurationJsonldConfigurationView.php b/src/Model/ConfigurationJsonldConfigurationView.php new file mode 100644 index 00000000..5ef745c1 --- /dev/null +++ b/src/Model/ConfigurationJsonldConfigurationView.php @@ -0,0 +1,194 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/ConfigurationJsonldEdit.php b/src/Model/ConfigurationJsonldEdit.php deleted file mode 100644 index 2cafb22f..00000000 --- a/src/Model/ConfigurationJsonldEdit.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/src/Model/ConfigurationJsonldRead.php b/src/Model/ConfigurationJsonldRead.php deleted file mode 100644 index 2d34fd57..00000000 --- a/src/Model/ConfigurationJsonldRead.php +++ /dev/null @@ -1,189 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationRead.php b/src/Model/ConfigurationRead.php deleted file mode 100644 index 8383965a..00000000 --- a/src/Model/ConfigurationRead.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationRemoveConfigurationValueInput.php b/src/Model/ConfigurationRemoveConfigurationValueInput.php deleted file mode 100644 index 95cbe0f2..00000000 --- a/src/Model/ConfigurationRemoveConfigurationValueInput.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return string[]|null - */ - public function getContents(): ?array - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?array $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationRemoveConfigurationValueInputConfigurationUpdate.php b/src/Model/ConfigurationRemoveConfigurationValueInputConfigurationUpdate.php new file mode 100644 index 00000000..c9f31f5f --- /dev/null +++ b/src/Model/ConfigurationRemoveConfigurationValueInputConfigurationUpdate.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string[]|null + */ + protected $contents; + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php b/src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php deleted file mode 100644 index fde13002..00000000 --- a/src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?array - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?array $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate.php b/src/Model/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate.php new file mode 100644 index 00000000..5c871c7b --- /dev/null +++ b/src/Model/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/Context.php b/src/Model/Context.php index fdb32d76..e5c4ea26 100644 --- a/src/Model/Context.php +++ b/src/Model/Context.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Context extends \ArrayObject @@ -19,7 +13,7 @@ class Context extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * Returns the step used by this context. diff --git a/src/Model/ContextJsonld.php b/src/Model/ContextJsonld.php index 960d82b7..1b90da08 100644 --- a/src/Model/ContextJsonld.php +++ b/src/Model/ContextJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ContextJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ContextJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -46,17 +40,11 @@ public function isInitialized($property): bool */ protected $fixedScale; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/CreateSecretInput.php b/src/Model/CreateSecretInput.php index 0dae3100..07fbdc91 100644 --- a/src/Model/CreateSecretInput.php +++ b/src/Model/CreateSecretInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class CreateSecretInput extends \ArrayObject @@ -19,7 +13,7 @@ class CreateSecretInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/CreateSecretInputJsonld.php b/src/Model/CreateSecretInputJsonld.php index b21db8fa..f00d3aed 100644 --- a/src/Model/CreateSecretInputJsonld.php +++ b/src/Model/CreateSecretInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class CreateSecretInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class CreateSecretInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -46,17 +40,11 @@ public function isInitialized($property): bool */ protected $contents; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/Credentials.php b/src/Model/Credentials.php index bc35fd96..1bfa291a 100644 --- a/src/Model/Credentials.php +++ b/src/Model/Credentials.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Credentials extends \ArrayObject @@ -19,7 +13,7 @@ class Credentials extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/Currency.php b/src/Model/Currency.php index 4351f6fc..b1a9dab9 100644 --- a/src/Model/Currency.php +++ b/src/Model/Currency.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Currency extends \ArrayObject @@ -19,7 +13,7 @@ class Currency extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * The currency code. diff --git a/src/Model/CurrencyJsonld.php b/src/Model/CurrencyJsonld.php index 9ef352dc..2f8aff88 100644 --- a/src/Model/CurrencyJsonld.php +++ b/src/Model/CurrencyJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class CurrencyJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class CurrencyJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -58,17 +52,11 @@ public function isInitialized($property): bool */ protected $defaultFractionDigits; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInput.php b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInput.php deleted file mode 100644 index dcf3c1f8..00000000 --- a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInput.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var VariableFromConfigurationInput[]|null - */ - protected $variables; - - /** - * @return VariableFromConfigurationInput[]|null - */ - public function getVariables(): ?array - { - return $this->variables; - } - - /** - * @param VariableFromConfigurationInput[]|null $variables - */ - public function setVariables(?array $variables): self - { - $this->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate.php b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate.php new file mode 100644 index 00000000..e5556706 --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var VariableFromConfigurationInputEnvironmentUpdate[]|null + */ + protected $variables; + + /** + * @return VariableFromConfigurationInputEnvironmentUpdate[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromConfigurationInputEnvironmentUpdate[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php deleted file mode 100644 index 37f03948..00000000 --- a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var VariableFromConfigurationInputJsonld[]|null - */ - protected $variables; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return VariableFromConfigurationInputJsonld[]|null - */ - public function getVariables(): ?array - { - return $this->variables; - } - - /** - * @param VariableFromConfigurationInputJsonld[]|null $variables - */ - public function setVariables(?array $variables): self - { - $this->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate.php b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate.php new file mode 100644 index 00000000..593717ca --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var VariableFromConfigurationInputJsonldEnvironmentUpdate[]|null + */ + protected $variables; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return VariableFromConfigurationInputJsonldEnvironmentUpdate[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromConfigurationInputJsonldEnvironmentUpdate[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php deleted file mode 100644 index ab85ab87..00000000 --- a/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var VariableFromConstantInput[]|null - */ - protected $variables; - - /** - * @return VariableFromConstantInput[]|null - */ - public function getVariables(): ?array - { - return $this->variables; - } - - /** - * @param VariableFromConstantInput[]|null $variables - */ - public function setVariables(?array $variables): self - { - $this->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate.php new file mode 100644 index 00000000..a5ef7dec --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var VariableFromConstantInputEnvironmentUpdate[]|null + */ + protected $variables; + + /** + * @return VariableFromConstantInputEnvironmentUpdate[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromConstantInputEnvironmentUpdate[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php deleted file mode 100644 index af4e15f1..00000000 --- a/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var VariableFromConstantInputJsonld[]|null - */ - protected $variables; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $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->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate.php new file mode 100644 index 00000000..d96c2b04 --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var VariableFromConstantInputJsonldEnvironmentUpdate[]|null + */ + protected $variables; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return VariableFromConstantInputJsonldEnvironmentUpdate[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromConstantInputJsonldEnvironmentUpdate[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentAddMultipleVariableFromSecretInput.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInput.php deleted file mode 100644 index 668f71af..00000000 --- a/src/Model/EnvironmentAddMultipleVariableFromSecretInput.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var VariableFromSecretInput[]|null - */ - protected $variables; - - /** - * @return VariableFromSecretInput[]|null - */ - public function getVariables(): ?array - { - return $this->variables; - } - - /** - * @param VariableFromSecretInput[]|null $variables - */ - public function setVariables(?array $variables): self - { - $this->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate.php new file mode 100644 index 00000000..663ac12d --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var VariableFromSecretInputEnvironmentUpdate[]|null + */ + protected $variables; + + /** + * @return VariableFromSecretInputEnvironmentUpdate[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromSecretInputEnvironmentUpdate[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php deleted file mode 100644 index 4549d19f..00000000 --- a/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var VariableFromSecretInputJsonld[]|null - */ - protected $variables; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $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->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate.php new file mode 100644 index 00000000..5ce76dcb --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var VariableFromSecretInputJsonldEnvironmentUpdate[]|null + */ + protected $variables; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return VariableFromSecretInputJsonldEnvironmentUpdate[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromSecretInputJsonldEnvironmentUpdate[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200.php b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200.php index 1e343128..df97bcae 100644 --- a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200.php +++ b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentConfigurationsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class EnvironmentConfigurationsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ConfigurationJsonld[]|null + * @var ConfigurationJsonldConfigurationView[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ConfigurationJsonld[]|null + * @return ConfigurationJsonldConfigurationView[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ConfigurationJsonld[]|null $hydraMember + * @param ConfigurationJsonldConfigurationView[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearch.php b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearch.php index ed50cd5d..de85e894 100644 --- a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentConfigurationsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentConfigurationsGetLdjsonResponse200HydraSearch extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 54e727ef..1b87fd0c 100644 --- a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem e public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraView.php b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraView.php index b40e051a..0858d2f2 100644 --- a/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraView.php +++ b/src/Model/EnvironmentConfigurationsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentConfigurationsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentConfigurationsGetLdjsonResponse200HydraView extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentCreateEnvironmentInput.php b/src/Model/EnvironmentCreateEnvironmentInput.php deleted file mode 100644 index 2e38719f..00000000 --- a/src/Model/EnvironmentCreateEnvironmentInput.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string[]|null - */ - protected $variables; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $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->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentCreateEnvironmentInputEnvironmentCreate.php b/src/Model/EnvironmentCreateEnvironmentInputEnvironmentCreate.php new file mode 100644 index 00000000..777b2551 --- /dev/null +++ b/src/Model/EnvironmentCreateEnvironmentInputEnvironmentCreate.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $variables; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentCreateEnvironmentInputJsonld.php b/src/Model/EnvironmentCreateEnvironmentInputJsonld.php deleted file mode 100644 index 56749375..00000000 --- a/src/Model/EnvironmentCreateEnvironmentInputJsonld.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string[]|null - */ - protected $variables; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $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->initialized['variables'] = true; - $this->variables = $variables; - - return $this; - } -} diff --git a/src/Model/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate.php b/src/Model/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate.php new file mode 100644 index 00000000..15ac2e01 --- /dev/null +++ b/src/Model/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $variables; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentEnvironmentUpdate.php b/src/Model/EnvironmentEnvironmentUpdate.php new file mode 100644 index 00000000..fa744ede --- /dev/null +++ b/src/Model/EnvironmentEnvironmentUpdate.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } +} diff --git a/src/Model/EnvironmentEnvironmentView.php b/src/Model/EnvironmentEnvironmentView.php new file mode 100644 index 00000000..35f1d121 --- /dev/null +++ b/src/Model/EnvironmentEnvironmentView.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $variables; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200.php b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200.php index 77fc4efd..2b10803a 100644 --- a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200.php +++ b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentEnvironmentsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class EnvironmentEnvironmentsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var EnvironmentJsonldRead[]|null + * @var EnvironmentJsonldEnvironmentView[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return EnvironmentJsonldRead[]|null + * @return EnvironmentJsonldEnvironmentView[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param EnvironmentJsonldRead[]|null $hydraMember + * @param EnvironmentJsonldEnvironmentView[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch.php b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch.php index bc898ead..bb6bd6e2 100644 --- a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem.php index cea0a256..c69b0b5b 100644 --- a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem ext public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraView.php b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraView.php index 79458796..6442b212 100644 --- a/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraView.php +++ b/src/Model/EnvironmentEnvironmentsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentEnvironmentsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentEnvironmentsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200.php deleted file mode 100644 index 684e19be..00000000 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var VariableJsonldRead[]|null - */ - protected $hydraMember; - /** - * @var int|null - */ - protected $hydraTotalItems; - /** - * @var EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView|null - */ - protected $hydraView; - /** - * @var EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch|null - */ - protected $hydraSearch; - - /** - * @return VariableJsonldRead[]|null - */ - public function getHydraMember(): ?array - { - return $this->hydraMember; - } - - /** - * @param VariableJsonldRead[]|null $hydraMember - */ - public function setHydraMember(?array $hydraMember): self - { - $this->initialized['hydraMember'] = true; - $this->hydraMember = $hydraMember; - - return $this; - } - - public function getHydraTotalItems(): ?int - { - return $this->hydraTotalItems; - } - - public function setHydraTotalItems(?int $hydraTotalItems): self - { - $this->initialized['hydraTotalItems'] = true; - $this->hydraTotalItems = $hydraTotalItems; - - return $this; - } - - public function getHydraView(): ?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView - { - return $this->hydraView; - } - - public function setHydraView(?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView $hydraView): self - { - $this->initialized['hydraView'] = true; - $this->hydraView = $hydraView; - - return $this; - } - - public function getHydraSearch(): ?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch - { - return $this->hydraSearch; - } - - public function setHydraSearch(?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch $hydraSearch): self - { - $this->initialized['hydraSearch'] = true; - $this->hydraSearch = $hydraSearch; - - return $this; - } -} diff --git a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch.php deleted file mode 100644 index a6a67933..00000000 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraTemplate; - /** - * @var string|null - */ - protected $hydraVariableRepresentation; - /** - * @var EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - protected $hydraMapping; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraTemplate(): ?string - { - return $this->hydraTemplate; - } - - public function setHydraTemplate(?string $hydraTemplate): self - { - $this->initialized['hydraTemplate'] = true; - $this->hydraTemplate = $hydraTemplate; - - return $this; - } - - public function getHydraVariableRepresentation(): ?string - { - return $this->hydraVariableRepresentation; - } - - public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self - { - $this->initialized['hydraVariableRepresentation'] = true; - $this->hydraVariableRepresentation = $hydraVariableRepresentation; - - return $this; - } - - /** - * @return EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - public function getHydraMapping(): ?array - { - return $this->hydraMapping; - } - - /** - * @param EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping - */ - public function setHydraMapping(?array $hydraMapping): self - { - $this->initialized['hydraMapping'] = true; - $this->hydraMapping = $hydraMapping; - - return $this; - } -} diff --git a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem.php deleted file mode 100644 index 4254acd5..00000000 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $variable; - /** - * @var string|null - */ - protected $property; - /** - * @var bool|null - */ - protected $required; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getVariable(): ?string - { - return $this->variable; - } - - public function setVariable(?string $variable): self - { - $this->initialized['variable'] = true; - $this->variable = $variable; - - return $this; - } - - public function getProperty(): ?string - { - return $this->property; - } - - public function setProperty(?string $property): self - { - $this->initialized['property'] = true; - $this->property = $property; - - return $this; - } - - public function getRequired(): ?bool - { - return $this->required; - } - - public function setRequired(?bool $required): self - { - $this->initialized['required'] = true; - $this->required = $required; - - return $this; - } -} diff --git a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView.php deleted file mode 100644 index 55c97df8..00000000 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraFirst; - /** - * @var string|null - */ - protected $hydraLast; - /** - * @var string|null - */ - protected $hydraPrevious; - /** - * @var string|null - */ - protected $hydraNext; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraFirst(): ?string - { - return $this->hydraFirst; - } - - public function setHydraFirst(?string $hydraFirst): self - { - $this->initialized['hydraFirst'] = true; - $this->hydraFirst = $hydraFirst; - - return $this; - } - - public function getHydraLast(): ?string - { - return $this->hydraLast; - } - - public function setHydraLast(?string $hydraLast): self - { - $this->initialized['hydraLast'] = true; - $this->hydraLast = $hydraLast; - - return $this; - } - - public function getHydraPrevious(): ?string - { - return $this->hydraPrevious; - } - - public function setHydraPrevious(?string $hydraPrevious): self - { - $this->initialized['hydraPrevious'] = true; - $this->hydraPrevious = $hydraPrevious; - - return $this; - } - - public function getHydraNext(): ?string - { - return $this->hydraNext; - } - - public function setHydraNext(?string $hydraNext): self - { - $this->initialized['hydraNext'] = true; - $this->hydraNext = $hydraNext; - - return $this; - } -} diff --git a/src/Model/EnvironmentJsonldEnvironmentUpdate.php b/src/Model/EnvironmentJsonldEnvironmentUpdate.php new file mode 100644 index 00000000..953c2e8a --- /dev/null +++ b/src/Model/EnvironmentJsonldEnvironmentUpdate.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } +} diff --git a/src/Model/EnvironmentJsonldEnvironmentView.php b/src/Model/EnvironmentJsonldEnvironmentView.php new file mode 100644 index 00000000..b042ca7c --- /dev/null +++ b/src/Model/EnvironmentJsonldEnvironmentView.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $variables; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentJsonldRead.php b/src/Model/EnvironmentJsonldRead.php deleted file mode 100644 index 94508b3e..00000000 --- a/src/Model/EnvironmentJsonldRead.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } -} diff --git a/src/Model/EnvironmentJsonldVariableViewEnvironmentView.php b/src/Model/EnvironmentJsonldVariableViewEnvironmentView.php new file mode 100644 index 00000000..87a1bd5f --- /dev/null +++ b/src/Model/EnvironmentJsonldVariableViewEnvironmentView.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var VariableJsonldVariableViewEnvironmentView[]|null + */ + protected $variables; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + /** + * @return VariableJsonldVariableViewEnvironmentView[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableJsonldVariableViewEnvironmentView[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentJsonldWrite.php b/src/Model/EnvironmentJsonldWrite.php deleted file mode 100644 index d0ed487e..00000000 --- a/src/Model/EnvironmentJsonldWrite.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/src/Model/EnvironmentRead.php b/src/Model/EnvironmentRead.php deleted file mode 100644 index 44986828..00000000 --- a/src/Model/EnvironmentRead.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } -} diff --git a/src/Model/EnvironmentSecretsGetLdjsonResponse200.php b/src/Model/EnvironmentSecretsGetLdjsonResponse200.php index 1db63727..8044f4ff 100644 --- a/src/Model/EnvironmentSecretsGetLdjsonResponse200.php +++ b/src/Model/EnvironmentSecretsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentSecretsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class EnvironmentSecretsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var SecretJsonld[]|null + * @var SecretJsonldSecretRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return SecretJsonld[]|null + * @return SecretJsonldSecretRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param SecretJsonld[]|null $hydraMember + * @param SecretJsonldSecretRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearch.php b/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearch.php index dc7ae758..b244dab7 100644 --- a/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentSecretsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentSecretsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 618a1706..2a14288f 100644 --- a/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraView.php b/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraView.php index cdfd1836..dbce4385 100644 --- a/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraView.php +++ b/src/Model/EnvironmentSecretsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class EnvironmentSecretsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class EnvironmentSecretsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/EnvironmentVariableViewEnvironmentView.php b/src/Model/EnvironmentVariableViewEnvironmentView.php new file mode 100644 index 00000000..77064fca --- /dev/null +++ b/src/Model/EnvironmentVariableViewEnvironmentView.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var VariableVariableViewEnvironmentView[]|null + */ + protected $variables; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + /** + * @return VariableVariableViewEnvironmentView[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableVariableViewEnvironmentView[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->initialized['variables'] = true; + $this->variables = $variables; + + return $this; + } +} diff --git a/src/Model/EnvironmentWrite.php b/src/Model/EnvironmentWrite.php deleted file mode 100644 index 4994fb19..00000000 --- a/src/Model/EnvironmentWrite.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/src/Model/ExecutionAction.php b/src/Model/ExecutionAction.php deleted file mode 100644 index 5ddc0585..00000000 --- a/src/Model/ExecutionAction.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $execution; - /** - * @var string|null - */ - protected $id; - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->initialized['execution'] = true; - $this->execution = $execution; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } -} diff --git a/src/Model/ExecutionActionExecutionActionRead.php b/src/Model/ExecutionActionExecutionActionRead.php new file mode 100644 index 00000000..fc0f1b4c --- /dev/null +++ b/src/Model/ExecutionActionExecutionActionRead.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $execution; + /** + * @var string|null + */ + protected $id; + + public function getExecution(): ?string + { + return $this->execution; + } + + public function setExecution(?string $execution): self + { + $this->initialized['execution'] = true; + $this->execution = $execution; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } +} diff --git a/src/Model/ExecutionActionJsonld.php b/src/Model/ExecutionActionJsonld.php deleted file mode 100644 index 71607d14..00000000 --- a/src/Model/ExecutionActionJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $execution; - /** - * @var string|null - */ - protected $id2; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->initialized['execution'] = true; - $this->execution = $execution; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } -} diff --git a/src/Model/ExecutionActionJsonldExecutionActionRead.php b/src/Model/ExecutionActionJsonldExecutionActionRead.php new file mode 100644 index 00000000..7fc9bc9f --- /dev/null +++ b/src/Model/ExecutionActionJsonldExecutionActionRead.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $execution; + /** + * @var string|null + */ + protected $id2; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getExecution(): ?string + { + return $this->execution; + } + + public function setExecution(?string $execution): self + { + $this->initialized['execution'] = true; + $this->execution = $execution; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php index 5f264049..de2abaf5 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionDeclarePipelineExecutionCommandInput extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionDeclarePipelineExecutionCommandInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed[]|null diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php index 4973c6e5..50a4ce51 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionDeclarePipelineExecutionCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionDeclarePipelineExecutionCommandInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $pipeline; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead.php b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead.php new file mode 100644 index 00000000..75ddee20 --- /dev/null +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php deleted file mode 100644 index 5546fd53..00000000 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/ExecutionExecutionRead.php b/src/Model/ExecutionExecutionRead.php new file mode 100644 index 00000000..e28a330d --- /dev/null +++ b/src/Model/ExecutionExecutionRead.php @@ -0,0 +1,375 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $owner; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $status = 'unknown'; + /** + * @var int|null + */ + protected $errors; + /** + * @var \DateTime|null + */ + protected $scheduledAt; + /** + * @var \DateTime|null + */ + protected $startedAt; + /** + * @var \DateTime|null + */ + protected $finishedAt; + /** + * @var \DateTime|null + */ + protected $interruptedAt; + /** + * @var \DateTime|null + */ + protected $resumedAt; + /** + * @var \DateTime|null + */ + protected $updatedAt; + /** + * @var \DateTime|null + */ + protected $terminatedAt; + /** + * @var string|null + */ + protected $reason; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var string|null + */ + protected $pipeline; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $action; + /** + * @var string|null + */ + protected $schedule; + /** + * @var string|null + */ + protected $environment; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getOwner(): ?string + { + return $this->owner; + } + + public function setOwner(?string $owner): self + { + $this->initialized['owner'] = true; + $this->owner = $owner; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getStatus(): ?string + { + return $this->status; + } + + public function setStatus(?string $status): self + { + $this->initialized['status'] = true; + $this->status = $status; + + return $this; + } + + public function getErrors(): ?int + { + return $this->errors; + } + + public function setErrors(?int $errors): self + { + $this->initialized['errors'] = true; + $this->errors = $errors; + + return $this; + } + + public function getScheduledAt(): ?\DateTime + { + return $this->scheduledAt; + } + + public function setScheduledAt(?\DateTime $scheduledAt): self + { + $this->initialized['scheduledAt'] = true; + $this->scheduledAt = $scheduledAt; + + return $this; + } + + public function getStartedAt(): ?\DateTime + { + return $this->startedAt; + } + + public function setStartedAt(?\DateTime $startedAt): self + { + $this->initialized['startedAt'] = true; + $this->startedAt = $startedAt; + + return $this; + } + + public function getFinishedAt(): ?\DateTime + { + return $this->finishedAt; + } + + public function setFinishedAt(?\DateTime $finishedAt): self + { + $this->initialized['finishedAt'] = true; + $this->finishedAt = $finishedAt; + + return $this; + } + + public function getInterruptedAt(): ?\DateTime + { + return $this->interruptedAt; + } + + public function setInterruptedAt(?\DateTime $interruptedAt): self + { + $this->initialized['interruptedAt'] = true; + $this->interruptedAt = $interruptedAt; + + return $this; + } + + public function getResumedAt(): ?\DateTime + { + return $this->resumedAt; + } + + public function setResumedAt(?\DateTime $resumedAt): self + { + $this->initialized['resumedAt'] = true; + $this->resumedAt = $resumedAt; + + return $this; + } + + public function getUpdatedAt(): ?\DateTime + { + return $this->updatedAt; + } + + public function setUpdatedAt(?\DateTime $updatedAt): self + { + $this->initialized['updatedAt'] = true; + $this->updatedAt = $updatedAt; + + return $this; + } + + public function getTerminatedAt(): ?\DateTime + { + return $this->terminatedAt; + } + + public function setTerminatedAt(?\DateTime $terminatedAt): self + { + $this->initialized['terminatedAt'] = true; + $this->terminatedAt = $terminatedAt; + + return $this; + } + + public function getReason(): ?string + { + return $this->reason; + } + + public function setReason(?string $reason): self + { + $this->initialized['reason'] = true; + $this->reason = $reason; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getAction(): ?string + { + return $this->action; + } + + public function setAction(?string $action): self + { + $this->initialized['action'] = true; + $this->action = $action; + + return $this; + } + + public function getSchedule(): ?string + { + return $this->schedule; + } + + public function setSchedule(?string $schedule): self + { + $this->initialized['schedule'] = true; + $this->schedule = $schedule; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } +} diff --git a/src/Model/ExecutionId.php b/src/Model/ExecutionId.php deleted file mode 100644 index 036b0992..00000000 --- a/src/Model/ExecutionId.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var bool|null - */ - protected $nil; - - public function getNil(): ?bool - { - return $this->nil; - } - - public function setNil(?bool $nil): self - { - $this->initialized['nil'] = true; - $this->nil = $nil; - - return $this; - } -} diff --git a/src/Model/ExecutionIdJsonld.php b/src/Model/ExecutionIdJsonld.php deleted file mode 100644 index 5df1c323..00000000 --- a/src/Model/ExecutionIdJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var bool|null - */ - protected $nil; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getNil(): ?bool - { - return $this->nil; - } - - public function setNil(?bool $nil): self - { - $this->initialized['nil'] = true; - $this->nil = $nil; - - return $this; - } -} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php index 15cdc3fb..371aa0b6 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionInterruptPipelineExecutionCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionInterruptPipelineExecutionCommandInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead.php b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead.php new file mode 100644 index 00000000..ece28159 --- /dev/null +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php deleted file mode 100644 index b970ff36..00000000 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/ExecutionJsonldExecutionRead.php b/src/Model/ExecutionJsonldExecutionRead.php new file mode 100644 index 00000000..ad0aa15a --- /dev/null +++ b/src/Model/ExecutionJsonldExecutionRead.php @@ -0,0 +1,426 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $owner; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $status = 'unknown'; + /** + * @var int|null + */ + protected $errors; + /** + * @var \DateTime|null + */ + protected $scheduledAt; + /** + * @var \DateTime|null + */ + protected $startedAt; + /** + * @var \DateTime|null + */ + protected $finishedAt; + /** + * @var \DateTime|null + */ + protected $interruptedAt; + /** + * @var \DateTime|null + */ + protected $resumedAt; + /** + * @var \DateTime|null + */ + protected $updatedAt; + /** + * @var \DateTime|null + */ + protected $terminatedAt; + /** + * @var string|null + */ + protected $reason; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var string|null + */ + protected $pipeline; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $action; + /** + * @var string|null + */ + protected $schedule; + /** + * @var string|null + */ + protected $environment; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getOwner(): ?string + { + return $this->owner; + } + + public function setOwner(?string $owner): self + { + $this->initialized['owner'] = true; + $this->owner = $owner; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getStatus(): ?string + { + return $this->status; + } + + public function setStatus(?string $status): self + { + $this->initialized['status'] = true; + $this->status = $status; + + return $this; + } + + public function getErrors(): ?int + { + return $this->errors; + } + + public function setErrors(?int $errors): self + { + $this->initialized['errors'] = true; + $this->errors = $errors; + + return $this; + } + + public function getScheduledAt(): ?\DateTime + { + return $this->scheduledAt; + } + + public function setScheduledAt(?\DateTime $scheduledAt): self + { + $this->initialized['scheduledAt'] = true; + $this->scheduledAt = $scheduledAt; + + return $this; + } + + public function getStartedAt(): ?\DateTime + { + return $this->startedAt; + } + + public function setStartedAt(?\DateTime $startedAt): self + { + $this->initialized['startedAt'] = true; + $this->startedAt = $startedAt; + + return $this; + } + + public function getFinishedAt(): ?\DateTime + { + return $this->finishedAt; + } + + public function setFinishedAt(?\DateTime $finishedAt): self + { + $this->initialized['finishedAt'] = true; + $this->finishedAt = $finishedAt; + + return $this; + } + + public function getInterruptedAt(): ?\DateTime + { + return $this->interruptedAt; + } + + public function setInterruptedAt(?\DateTime $interruptedAt): self + { + $this->initialized['interruptedAt'] = true; + $this->interruptedAt = $interruptedAt; + + return $this; + } + + public function getResumedAt(): ?\DateTime + { + return $this->resumedAt; + } + + public function setResumedAt(?\DateTime $resumedAt): self + { + $this->initialized['resumedAt'] = true; + $this->resumedAt = $resumedAt; + + return $this; + } + + public function getUpdatedAt(): ?\DateTime + { + return $this->updatedAt; + } + + public function setUpdatedAt(?\DateTime $updatedAt): self + { + $this->initialized['updatedAt'] = true; + $this->updatedAt = $updatedAt; + + return $this; + } + + public function getTerminatedAt(): ?\DateTime + { + return $this->terminatedAt; + } + + public function setTerminatedAt(?\DateTime $terminatedAt): self + { + $this->initialized['terminatedAt'] = true; + $this->terminatedAt = $terminatedAt; + + return $this; + } + + public function getReason(): ?string + { + return $this->reason; + } + + public function setReason(?string $reason): self + { + $this->initialized['reason'] = true; + $this->reason = $reason; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getAction(): ?string + { + return $this->action; + } + + public function setAction(?string $action): self + { + $this->initialized['action'] = true; + $this->action = $action; + + return $this; + } + + public function getSchedule(): ?string + { + return $this->schedule; + } + + public function setSchedule(?string $schedule): self + { + $this->initialized['schedule'] = true; + $this->schedule = $schedule; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } +} diff --git a/src/Model/ExecutionJsonldRead.php b/src/Model/ExecutionJsonldRead.php deleted file mode 100644 index 8544fcdd..00000000 --- a/src/Model/ExecutionJsonldRead.php +++ /dev/null @@ -1,302 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $status = 'unknown'; - /** - * @var int|null - */ - protected $errors; - /** - * @var \DateTime|null - */ - protected $scheduledAt; - /** - * @var \DateTime|null - */ - protected $startedAt; - /** - * @var \DateTime|null - */ - protected $finishedAt; - /** - * @var \DateTime|null - */ - protected $interruptedAt; - /** - * @var \DateTime|null - */ - protected $resumedAt; - /** - * @var \DateTime|null - */ - protected $updatedAt; - /** - * @var \DateTime|null - */ - protected $terminatedAt; - /** - * @var string|null - */ - protected $reason; - /** - * @var int|null - */ - protected $currentVersion; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getStatus(): ?string - { - return $this->status; - } - - public function setStatus(?string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getErrors(): ?int - { - return $this->errors; - } - - public function setErrors(?int $errors): self - { - $this->initialized['errors'] = true; - $this->errors = $errors; - - return $this; - } - - public function getScheduledAt(): ?\DateTime - { - return $this->scheduledAt; - } - - public function setScheduledAt(?\DateTime $scheduledAt): self - { - $this->initialized['scheduledAt'] = true; - $this->scheduledAt = $scheduledAt; - - return $this; - } - - public function getStartedAt(): ?\DateTime - { - return $this->startedAt; - } - - public function setStartedAt(?\DateTime $startedAt): self - { - $this->initialized['startedAt'] = true; - $this->startedAt = $startedAt; - - return $this; - } - - public function getFinishedAt(): ?\DateTime - { - return $this->finishedAt; - } - - public function setFinishedAt(?\DateTime $finishedAt): self - { - $this->initialized['finishedAt'] = true; - $this->finishedAt = $finishedAt; - - return $this; - } - - public function getInterruptedAt(): ?\DateTime - { - return $this->interruptedAt; - } - - public function setInterruptedAt(?\DateTime $interruptedAt): self - { - $this->initialized['interruptedAt'] = true; - $this->interruptedAt = $interruptedAt; - - return $this; - } - - public function getResumedAt(): ?\DateTime - { - return $this->resumedAt; - } - - public function setResumedAt(?\DateTime $resumedAt): self - { - $this->initialized['resumedAt'] = true; - $this->resumedAt = $resumedAt; - - return $this; - } - - public function getUpdatedAt(): ?\DateTime - { - return $this->updatedAt; - } - - public function setUpdatedAt(?\DateTime $updatedAt): self - { - $this->initialized['updatedAt'] = true; - $this->updatedAt = $updatedAt; - - return $this; - } - - public function getTerminatedAt(): ?\DateTime - { - return $this->terminatedAt; - } - - public function setTerminatedAt(?\DateTime $terminatedAt): self - { - $this->initialized['terminatedAt'] = true; - $this->terminatedAt = $terminatedAt; - - return $this; - } - - public function getReason(): ?string - { - return $this->reason; - } - - public function setReason(?string $reason): self - { - $this->initialized['reason'] = true; - $this->reason = $reason; - - return $this; - } - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } -} diff --git a/src/Model/ExecutionPipeline.php b/src/Model/ExecutionPipeline.php deleted file mode 100644 index b1d4ca31..00000000 --- a/src/Model/ExecutionPipeline.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $execution; - /** - * @var string|null - */ - protected $id; - /** - * @var string[]|null - */ - protected $steps; - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->initialized['execution'] = true; - $this->execution = $execution; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * @return string[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/ExecutionPipelineExecutionPipelineRead.php b/src/Model/ExecutionPipelineExecutionPipelineRead.php new file mode 100644 index 00000000..31d4f47f --- /dev/null +++ b/src/Model/ExecutionPipelineExecutionPipelineRead.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $execution; + /** + * @var string|null + */ + protected $id; + /** + * @var string[]|null + */ + protected $steps; + + public function getExecution(): ?string + { + return $this->execution; + } + + public function setExecution(?string $execution): self + { + $this->initialized['execution'] = true; + $this->execution = $execution; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/ExecutionPipelineJob.php b/src/Model/ExecutionPipelineJob.php index 52819830..cf207299 100644 --- a/src/Model/ExecutionPipelineJob.php +++ b/src/Model/ExecutionPipelineJob.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionPipelineJob extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionPipelineJob extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ExecutionPipelineJobJsonld.php b/src/Model/ExecutionPipelineJobJsonld.php index 75c3f860..b2f7a8cd 100644 --- a/src/Model/ExecutionPipelineJobJsonld.php +++ b/src/Model/ExecutionPipelineJobJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionPipelineJobJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionPipelineJobJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -72,17 +66,11 @@ 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->initialized['context'] = true; diff --git a/src/Model/ExecutionPipelineJsonld.php b/src/Model/ExecutionPipelineJsonld.php deleted file mode 100644 index 983b1845..00000000 --- a/src/Model/ExecutionPipelineJsonld.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $execution; - /** - * @var string|null - */ - protected $id2; - /** - * @var string[]|null - */ - protected $steps; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->initialized['execution'] = true; - $this->execution = $execution; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - /** - * @return string[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/ExecutionPipelineJsonldExecutionPipelineRead.php b/src/Model/ExecutionPipelineJsonldExecutionPipelineRead.php new file mode 100644 index 00000000..f9546753 --- /dev/null +++ b/src/Model/ExecutionPipelineJsonldExecutionPipelineRead.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $execution; + /** + * @var string|null + */ + protected $id2; + /** + * @var string[]|null + */ + protected $steps; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getExecution(): ?string + { + return $this->execution; + } + + public function setExecution(?string $execution): self + { + $this->initialized['execution'] = true; + $this->execution = $execution; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/ExecutionPipelineStep.php b/src/Model/ExecutionPipelineStep.php deleted file mode 100644 index 07d71234..00000000 --- a/src/Model/ExecutionPipelineStep.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var AbstractPipeline|null - */ - protected $pipeline; - /** - * @var string[]|null - */ - protected $metrics; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getPipeline(): ?AbstractPipeline - { - return $this->pipeline; - } - - public function setPipeline(?AbstractPipeline $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - /** - * @return string[]|null - */ - public function getMetrics(): ?array - { - return $this->metrics; - } - - /** - * @param string[]|null $metrics - */ - public function setMetrics(?array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } -} diff --git a/src/Model/ExecutionPipelineStepExecutionPipelineStepRead.php b/src/Model/ExecutionPipelineStepExecutionPipelineStepRead.php new file mode 100644 index 00000000..eb2248b8 --- /dev/null +++ b/src/Model/ExecutionPipelineStepExecutionPipelineStepRead.php @@ -0,0 +1,81 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var mixed[]|null + */ + protected $pipeline; + /** + * @var string[]|null + */ + protected $metrics; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + /** + * @return mixed[]|null + */ + public function getPipeline(): ?iterable + { + return $this->pipeline; + } + + /** + * @param mixed[]|null $pipeline + */ + public function setPipeline(?iterable $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + /** + * @return string[]|null + */ + public function getMetrics(): ?array + { + return $this->metrics; + } + + /** + * @param string[]|null $metrics + */ + public function setMetrics(?array $metrics): self + { + $this->initialized['metrics'] = true; + $this->metrics = $metrics; + + return $this; + } +} diff --git a/src/Model/ExecutionPipelineStepJsonld.php b/src/Model/ExecutionPipelineStepJsonld.php deleted file mode 100644 index f1dde189..00000000 --- a/src/Model/ExecutionPipelineStepJsonld.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var AbstractPipelineJsonld|null - */ - protected $pipeline; - /** - * @var string[]|null - */ - protected $metrics; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getPipeline(): ?AbstractPipelineJsonld - { - return $this->pipeline; - } - - public function setPipeline(?AbstractPipelineJsonld $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - /** - * @return string[]|null - */ - public function getMetrics(): ?array - { - return $this->metrics; - } - - /** - * @param string[]|null $metrics - */ - public function setMetrics(?array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } -} diff --git a/src/Model/ExecutionPipelineStepJsonldExecutionPipelineStepRead.php b/src/Model/ExecutionPipelineStepJsonldExecutionPipelineStepRead.php new file mode 100644 index 00000000..03aa33ea --- /dev/null +++ b/src/Model/ExecutionPipelineStepJsonldExecutionPipelineStepRead.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var AbstractPipelineJsonldExecutionPipelineStepRead|null + */ + protected $pipeline; + /** + * @var string[]|null + */ + protected $metrics; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getPipeline(): ?AbstractPipelineJsonldExecutionPipelineStepRead + { + return $this->pipeline; + } + + public function setPipeline(?AbstractPipelineJsonldExecutionPipelineStepRead $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + /** + * @return string[]|null + */ + public function getMetrics(): ?array + { + return $this->metrics; + } + + /** + * @param string[]|null $metrics + */ + public function setMetrics(?array $metrics): self + { + $this->initialized['metrics'] = true; + $this->metrics = $metrics; + + return $this; + } +} diff --git a/src/Model/ExecutionRead.php b/src/Model/ExecutionRead.php deleted file mode 100644 index 08afb938..00000000 --- a/src/Model/ExecutionRead.php +++ /dev/null @@ -1,245 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $status = 'unknown'; - /** - * @var int|null - */ - protected $errors; - /** - * @var \DateTime|null - */ - protected $scheduledAt; - /** - * @var \DateTime|null - */ - protected $startedAt; - /** - * @var \DateTime|null - */ - protected $finishedAt; - /** - * @var \DateTime|null - */ - protected $interruptedAt; - /** - * @var \DateTime|null - */ - protected $resumedAt; - /** - * @var \DateTime|null - */ - protected $updatedAt; - /** - * @var \DateTime|null - */ - protected $terminatedAt; - /** - * @var string|null - */ - protected $reason; - /** - * @var int|null - */ - protected $currentVersion; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getStatus(): ?string - { - return $this->status; - } - - public function setStatus(?string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getErrors(): ?int - { - return $this->errors; - } - - public function setErrors(?int $errors): self - { - $this->initialized['errors'] = true; - $this->errors = $errors; - - return $this; - } - - public function getScheduledAt(): ?\DateTime - { - return $this->scheduledAt; - } - - public function setScheduledAt(?\DateTime $scheduledAt): self - { - $this->initialized['scheduledAt'] = true; - $this->scheduledAt = $scheduledAt; - - return $this; - } - - public function getStartedAt(): ?\DateTime - { - return $this->startedAt; - } - - public function setStartedAt(?\DateTime $startedAt): self - { - $this->initialized['startedAt'] = true; - $this->startedAt = $startedAt; - - return $this; - } - - public function getFinishedAt(): ?\DateTime - { - return $this->finishedAt; - } - - public function setFinishedAt(?\DateTime $finishedAt): self - { - $this->initialized['finishedAt'] = true; - $this->finishedAt = $finishedAt; - - return $this; - } - - public function getInterruptedAt(): ?\DateTime - { - return $this->interruptedAt; - } - - public function setInterruptedAt(?\DateTime $interruptedAt): self - { - $this->initialized['interruptedAt'] = true; - $this->interruptedAt = $interruptedAt; - - return $this; - } - - public function getResumedAt(): ?\DateTime - { - return $this->resumedAt; - } - - public function setResumedAt(?\DateTime $resumedAt): self - { - $this->initialized['resumedAt'] = true; - $this->resumedAt = $resumedAt; - - return $this; - } - - public function getUpdatedAt(): ?\DateTime - { - return $this->updatedAt; - } - - public function setUpdatedAt(?\DateTime $updatedAt): self - { - $this->initialized['updatedAt'] = true; - $this->updatedAt = $updatedAt; - - return $this; - } - - public function getTerminatedAt(): ?\DateTime - { - return $this->terminatedAt; - } - - public function setTerminatedAt(?\DateTime $terminatedAt): self - { - $this->initialized['terminatedAt'] = true; - $this->terminatedAt = $terminatedAt; - - return $this; - } - - public function getReason(): ?string - { - return $this->reason; - } - - public function setReason(?string $reason): self - { - $this->initialized['reason'] = true; - $this->reason = $reason; - - return $this; - } - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } -} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php index d41d0986..04ff9386 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionResumePipelineExecutionCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionResumePipelineExecutionCommandInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionResumePipelineExecutionCommandJsonldExecutionRead.php b/src/Model/ExecutionResumePipelineExecutionCommandJsonldExecutionRead.php new file mode 100644 index 00000000..5b59ae6c --- /dev/null +++ b/src/Model/ExecutionResumePipelineExecutionCommandJsonldExecutionRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php deleted file mode 100644 index 6d16a451..00000000 --- a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php index 2c2c742e..9f15709a 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionTerminatePipelineExecutionCommandInput extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionTerminatePipelineExecutionCommandInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php index c1760132..2fa5bed8 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionTerminatePipelineExecutionCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionTerminatePipelineExecutionCommandInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -38,17 +32,11 @@ public function isInitialized($property): bool */ protected $reason; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead.php b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead.php new file mode 100644 index 00000000..89275013 --- /dev/null +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php deleted file mode 100644 index 77f9e23b..00000000 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflow.php b/src/Model/ExecutionWorkflow.php deleted file mode 100644 index ee2cb272..00000000 --- a/src/Model/ExecutionWorkflow.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string[]|null - */ - protected $jobs; - /** - * @var string|null - */ - protected $execution; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * @return string[]|null - */ - public function getJobs(): ?array - { - return $this->jobs; - } - - /** - * @param string[]|null $jobs - */ - public function setJobs(?array $jobs): self - { - $this->initialized['jobs'] = true; - $this->jobs = $jobs; - - return $this; - } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->initialized['execution'] = true; - $this->execution = $execution; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowExecutionWorkflowRead.php b/src/Model/ExecutionWorkflowExecutionWorkflowRead.php new file mode 100644 index 00000000..6d79653f --- /dev/null +++ b/src/Model/ExecutionWorkflowExecutionWorkflowRead.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string[]|null + */ + protected $jobs; + /** + * @var string|null + */ + protected $execution; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + /** + * @return string[]|null + */ + public function getJobs(): ?array + { + return $this->jobs; + } + + /** + * @param string[]|null $jobs + */ + public function setJobs(?array $jobs): self + { + $this->initialized['jobs'] = true; + $this->jobs = $jobs; + + return $this; + } + + public function getExecution(): ?string + { + return $this->execution; + } + + public function setExecution(?string $execution): self + { + $this->initialized['execution'] = true; + $this->execution = $execution; + + return $this; + } +} diff --git a/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommand.php b/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommand.php deleted file mode 100644 index 998f3e7d..00000000 --- a/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommand.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var ExecutionId|null - */ - protected $id; - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var UserId|null - */ - protected $user; - - public function getId(): ?ExecutionId - { - return $this->id; - } - - public function setId(?ExecutionId $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getUser(): ?UserId - { - return $this->user; - } - - public function setUser(?UserId $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld.php b/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld.php index d2b7305e..02f37560 100644 --- a/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld.php b/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld.php deleted file mode 100644 index ddd5f574..00000000 --- a/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var ExecutionIdJsonld|null - */ - protected $id2; - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var UserIdJsonld|null - */ - protected $user; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?ExecutionIdJsonld - { - return $this->id2; - } - - public function setId2(?ExecutionIdJsonld $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getUser(): ?UserIdJsonld - { - return $this->user; - } - - public function setUser(?UserIdJsonld $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead.php b/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead.php new file mode 100644 index 00000000..9611c8fb --- /dev/null +++ b/src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/ExecutionWorkflowJob.php b/src/Model/ExecutionWorkflowJob.php deleted file mode 100644 index 11d1a4fc..00000000 --- a/src/Model/ExecutionWorkflowJob.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $workflow; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $action; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getWorkflow(): ?string - { - return $this->workflow; - } - - public function setWorkflow(?string $workflow): self - { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; - - return $this; - } - - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - public function getAction(): ?string - { - return $this->action; - } - - public function setAction(?string $action): self - { - $this->initialized['action'] = true; - $this->action = $action; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowJobAction.php b/src/Model/ExecutionWorkflowJobAction.php index 041f6447..3668048c 100644 --- a/src/Model/ExecutionWorkflowJobAction.php +++ b/src/Model/ExecutionWorkflowJobAction.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionWorkflowJobAction extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionWorkflowJobAction extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ExecutionWorkflowJobActionJsonld.php b/src/Model/ExecutionWorkflowJobActionJsonld.php index 8e366eab..512e27cc 100644 --- a/src/Model/ExecutionWorkflowJobActionJsonld.php +++ b/src/Model/ExecutionWorkflowJobActionJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionWorkflowJobActionJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionWorkflowJobActionJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $id2; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionWorkflowJobExecutionWorkflowJobRead.php b/src/Model/ExecutionWorkflowJobExecutionWorkflowJobRead.php new file mode 100644 index 00000000..1569e596 --- /dev/null +++ b/src/Model/ExecutionWorkflowJobExecutionWorkflowJobRead.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $pipeline; + /** + * @var string|null + */ + protected $action; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getAction(): ?string + { + return $this->action; + } + + public function setAction(?string $action): self + { + $this->initialized['action'] = true; + $this->action = $action; + + return $this; + } +} diff --git a/src/Model/ExecutionWorkflowJobJsonld.php b/src/Model/ExecutionWorkflowJobJsonld.php deleted file mode 100644 index e919e932..00000000 --- a/src/Model/ExecutionWorkflowJobJsonld.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $workflow; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $action; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getWorkflow(): ?string - { - return $this->workflow; - } - - public function setWorkflow(?string $workflow): self - { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; - - return $this; - } - - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - public function getAction(): ?string - { - return $this->action; - } - - public function setAction(?string $action): self - { - $this->initialized['action'] = true; - $this->action = $action; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowJobJsonldExecutionWorkflowJobRead.php b/src/Model/ExecutionWorkflowJobJsonldExecutionWorkflowJobRead.php new file mode 100644 index 00000000..e423888a --- /dev/null +++ b/src/Model/ExecutionWorkflowJobJsonldExecutionWorkflowJobRead.php @@ -0,0 +1,137 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $pipeline; + /** + * @var string|null + */ + protected $action; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getAction(): ?string + { + return $this->action; + } + + public function setAction(?string $action): self + { + $this->initialized['action'] = true; + $this->action = $action; + + return $this; + } +} diff --git a/src/Model/ExecutionWorkflowJsonld.php b/src/Model/ExecutionWorkflowJsonld.php deleted file mode 100644 index 72625d20..00000000 --- a/src/Model/ExecutionWorkflowJsonld.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var string[]|null - */ - protected $jobs; - /** - * @var string|null - */ - protected $execution; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - /** - * @return string[]|null - */ - public function getJobs(): ?array - { - return $this->jobs; - } - - /** - * @param string[]|null $jobs - */ - public function setJobs(?array $jobs): self - { - $this->initialized['jobs'] = true; - $this->jobs = $jobs; - - return $this; - } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->initialized['execution'] = true; - $this->execution = $execution; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowJsonldExecutionWorkflowRead.php b/src/Model/ExecutionWorkflowJsonldExecutionWorkflowRead.php new file mode 100644 index 00000000..323d4aa0 --- /dev/null +++ b/src/Model/ExecutionWorkflowJsonldExecutionWorkflowRead.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var string[]|null + */ + protected $jobs; + /** + * @var string|null + */ + protected $execution; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + /** + * @return string[]|null + */ + public function getJobs(): ?array + { + return $this->jobs; + } + + /** + * @param string[]|null $jobs + */ + public function setJobs(?array $jobs): self + { + $this->initialized['jobs'] = true; + $this->jobs = $jobs; + + return $this; + } + + public function getExecution(): ?string + { + return $this->execution; + } + + public function setExecution(?string $execution): self + { + $this->initialized['execution'] = true; + $this->execution = $execution; + + return $this; + } +} diff --git a/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommand.php b/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommand.php deleted file mode 100644 index fe81ee1a..00000000 --- a/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommand.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var ExecutionId|null - */ - protected $id; - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var UserId|null - */ - protected $user; - - public function getId(): ?ExecutionId - { - return $this->id; - } - - public function setId(?ExecutionId $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getUser(): ?UserId - { - return $this->user; - } - - public function setUser(?UserId $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld.php b/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld.php index 20df0695..4739b3c7 100644 --- a/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonld.php b/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonld.php deleted file mode 100644 index f49461d0..00000000 --- a/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonld.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var ExecutionIdJsonld|null - */ - protected $id2; - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var UserIdJsonld|null - */ - protected $user; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?ExecutionIdJsonld - { - return $this->id2; - } - - public function setId2(?ExecutionIdJsonld $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getUser(): ?UserIdJsonld - { - return $this->user; - } - - public function setUser(?UserIdJsonld $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead.php b/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead.php new file mode 100644 index 00000000..7abc5f0c --- /dev/null +++ b/src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommand.php b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommand.php deleted file mode 100644 index 513cf0be..00000000 --- a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommand.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var ExecutionId|null - */ - protected $id; - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var string|null - */ - protected $reason; - /** - * @var UserId|null - */ - protected $user; - - public function getId(): ?ExecutionId - { - return $this->id; - } - - public function setId(?ExecutionId $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getReason(): ?string - { - return $this->reason; - } - - public function setReason(?string $reason): self - { - $this->initialized['reason'] = true; - $this->reason = $reason; - - return $this; - } - - public function getUser(): ?UserId - { - return $this->user; - } - - public function setUser(?UserId $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInput.php b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInput.php index 38ab4a34..ca61bfb7 100644 --- a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInput.php +++ b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionWorkflowTerminateWorkflowExecutionCommandInput extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionWorkflowTerminateWorkflowExecutionCommandInput extends \ArrayObje public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld.php b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld.php index a76afc23..3fb16461 100644 --- a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -38,17 +32,11 @@ public function isInitialized($property): bool */ protected $reason; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld.php b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld.php deleted file mode 100644 index 192f536c..00000000 --- a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var ExecutionIdJsonld|null - */ - protected $id2; - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var string|null - */ - protected $reason; - /** - * @var UserIdJsonld|null - */ - protected $user; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?ExecutionIdJsonld - { - return $this->id2; - } - - public function setId2(?ExecutionIdJsonld $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getReason(): ?string - { - return $this->reason; - } - - public function setReason(?string $reason): self - { - $this->initialized['reason'] = true; - $this->reason = $reason; - - return $this; - } - - public function getUser(): ?UserIdJsonld - { - return $this->user; - } - - public function setUser(?UserIdJsonld $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead.php b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead.php new file mode 100644 index 00000000..8d04cc77 --- /dev/null +++ b/src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200.php b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200.php index ceff6847..c34b0bd8 100644 --- a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200.php +++ b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoInstanceJsonld[]|null diff --git a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch.php index cebb481e..ff19e271 100644 --- a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch extends \Arra public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem.php index 32cfff8f..7eba9789 100644 --- a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingIt public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView.php index c01edad6..c6771661 100644 --- a/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView.php +++ b/src/Model/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200.php b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200.php index db549800..68dc4ea9 100644 --- a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200.php +++ b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoInstanceJsonld[]|null diff --git a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch.php index e9fbb083..11e966a9 100644 --- a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem.php index efbec52d..adca4a2f 100644 --- a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem exte public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraView.php index 1054fe9d..502b3252 100644 --- a/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraView.php +++ b/src/Model/GatewayAkeneoInstancesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200.php b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200.php index 5b158fee..76102290 100644 --- a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200.php +++ b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoInstanceJsonld[]|null diff --git a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch.php index 60527d10..e38a8ede 100644 --- a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem.php index fb1b8c26..1b8f5d5e 100644 --- a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappin public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView.php index 991b836a..7c45586d 100644 --- a/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView.php +++ b/src/Model/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200.php deleted file mode 100644 index 381ba17a..00000000 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var AkeneoLinkedAccountJsonld[]|null - */ - protected $hydraMember; - /** - * @var int|null - */ - protected $hydraTotalItems; - /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView|null - */ - protected $hydraView; - /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch|null - */ - protected $hydraSearch; - - /** - * @return AkeneoLinkedAccountJsonld[]|null - */ - public function getHydraMember(): ?array - { - return $this->hydraMember; - } - - /** - * @param AkeneoLinkedAccountJsonld[]|null $hydraMember - */ - public function setHydraMember(?array $hydraMember): self - { - $this->initialized['hydraMember'] = true; - $this->hydraMember = $hydraMember; - - return $this; - } - - public function getHydraTotalItems(): ?int - { - return $this->hydraTotalItems; - } - - public function setHydraTotalItems(?int $hydraTotalItems): self - { - $this->initialized['hydraTotalItems'] = true; - $this->hydraTotalItems = $hydraTotalItems; - - return $this; - } - - public function getHydraView(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView - { - return $this->hydraView; - } - - public function setHydraView(?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView $hydraView): self - { - $this->initialized['hydraView'] = true; - $this->hydraView = $hydraView; - - return $this; - } - - public function getHydraSearch(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch - { - return $this->hydraSearch; - } - - public function setHydraSearch(?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch $hydraSearch): self - { - $this->initialized['hydraSearch'] = true; - $this->hydraSearch = $hydraSearch; - - return $this; - } -} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch.php deleted file mode 100644 index 693a090e..00000000 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraTemplate; - /** - * @var string|null - */ - protected $hydraVariableRepresentation; - /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - protected $hydraMapping; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraTemplate(): ?string - { - return $this->hydraTemplate; - } - - public function setHydraTemplate(?string $hydraTemplate): self - { - $this->initialized['hydraTemplate'] = true; - $this->hydraTemplate = $hydraTemplate; - - return $this; - } - - public function getHydraVariableRepresentation(): ?string - { - return $this->hydraVariableRepresentation; - } - - public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self - { - $this->initialized['hydraVariableRepresentation'] = true; - $this->hydraVariableRepresentation = $hydraVariableRepresentation; - - return $this; - } - - /** - * @return GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - public function getHydraMapping(): ?array - { - return $this->hydraMapping; - } - - /** - * @param GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping - */ - public function setHydraMapping(?array $hydraMapping): self - { - $this->initialized['hydraMapping'] = true; - $this->hydraMapping = $hydraMapping; - - return $this; - } -} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php deleted file mode 100644 index 2384c1b6..00000000 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $variable; - /** - * @var string|null - */ - protected $property; - /** - * @var bool|null - */ - protected $required; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getVariable(): ?string - { - return $this->variable; - } - - public function setVariable(?string $variable): self - { - $this->initialized['variable'] = true; - $this->variable = $variable; - - return $this; - } - - public function getProperty(): ?string - { - return $this->property; - } - - public function setProperty(?string $property): self - { - $this->initialized['property'] = true; - $this->property = $property; - - return $this; - } - - public function getRequired(): ?bool - { - return $this->required; - } - - public function setRequired(?bool $required): self - { - $this->initialized['required'] = true; - $this->required = $required; - - return $this; - } -} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView.php deleted file mode 100644 index 1409e917..00000000 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraFirst; - /** - * @var string|null - */ - protected $hydraLast; - /** - * @var string|null - */ - protected $hydraPrevious; - /** - * @var string|null - */ - protected $hydraNext; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraFirst(): ?string - { - return $this->hydraFirst; - } - - public function setHydraFirst(?string $hydraFirst): self - { - $this->initialized['hydraFirst'] = true; - $this->hydraFirst = $hydraFirst; - - return $this; - } - - public function getHydraLast(): ?string - { - return $this->hydraLast; - } - - public function setHydraLast(?string $hydraLast): self - { - $this->initialized['hydraLast'] = true; - $this->hydraLast = $hydraLast; - - return $this; - } - - public function getHydraPrevious(): ?string - { - return $this->hydraPrevious; - } - - public function setHydraPrevious(?string $hydraPrevious): self - { - $this->initialized['hydraPrevious'] = true; - $this->hydraPrevious = $hydraPrevious; - - return $this; - } - - public function getHydraNext(): ?string - { - return $this->hydraNext; - } - - public function setHydraNext(?string $hydraNext): self - { - $this->initialized['hydraNext'] = true; - $this->hydraNext = $hydraNext; - - return $this; - } -} diff --git a/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200.php new file mode 100644 index 00000000..2e4fc987 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var AkeneoLinkedAccountJsonld[]|null + */ + protected $hydraMember; + /** + * @var int|null + */ + protected $hydraTotalItems; + /** + * @var GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView|null + */ + protected $hydraView; + /** + * @var GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch|null + */ + protected $hydraSearch; + + /** + * @return AkeneoLinkedAccountJsonld[]|null + */ + public function getHydraMember(): ?array + { + return $this->hydraMember; + } + + /** + * @param AkeneoLinkedAccountJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->initialized['hydraMember'] = true; + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->initialized['hydraTotalItems'] = true; + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView $hydraView): self + { + $this->initialized['hydraView'] = true; + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch $hydraSearch): self + { + $this->initialized['hydraSearch'] = true; + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch.php new file mode 100644 index 00000000..44da9e2b --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraTemplate; + /** + * @var string|null + */ + protected $hydraVariableRepresentation; + /** + * @var GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + protected $hydraMapping; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->initialized['hydraTemplate'] = true; + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->initialized['hydraVariableRepresentation'] = true; + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->initialized['hydraMapping'] = true; + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..3ded0673 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $variable; + /** + * @var string|null + */ + protected $property; + /** + * @var bool|null + */ + protected $required; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->initialized['variable'] = true; + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->initialized['property'] = true; + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->initialized['required'] = true; + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView.php new file mode 100644 index 00000000..ae3c8124 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraFirst; + /** + * @var string|null + */ + protected $hydraLast; + /** + * @var string|null + */ + protected $hydraPrevious; + /** + * @var string|null + */ + protected $hydraNext; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->initialized['hydraFirst'] = true; + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->initialized['hydraLast'] = true; + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->initialized['hydraPrevious'] = true; + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->initialized['hydraNext'] = true; + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200.php b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200.php index e1a78de9..09bce196 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoLinkedAccountsGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoLinkedAccountJsonld[]|null diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch.php index cb592479..402e82b8 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 9a449d07..ef9e409b 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView.php index a595bf4c..3df0bfba 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200.php b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200.php index 6ea3f778..9fa1e783 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200.php +++ b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthStatesGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoOauthTokenJsonldRead[]|null diff --git a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch.php index fd03c552..ab1a5eaf 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch extends \ArrayObje public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem.php index e98ffb35..117ccc00 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem ex public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView.php index b8f18383..8948e013 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView.php +++ b/src/Model/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutBody.php b/src/Model/GatewayAkeneoOauthTokenPutBody.php index df9966db..9007b38b 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBody.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBody.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutBody extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutBody extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoOauthTokenOauthTokenInputJsonld[]|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php index ab8eb3ed..6103b3b8 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutBodyHydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php index 8babff9b..e317062b 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem extends \ArrayOb public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php index 13903899..4fcc6ba7 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutBodyHydraView extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutBodyHydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200.php b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200.php index caf7f9b8..98b09132 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200.php +++ b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoOauthTokenOauthTokenOutputJsonldRead[]|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch.php index da7c2b61..e46ad7f5 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem.php index f8a3bd52..ee68b8bb 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem ext public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView.php index f63887dd..f25d6d48 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView.php +++ b/src/Model/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/Job.php b/src/Model/Job.php index f5c3ccae..1cda1dbc 100644 --- a/src/Model/Job.php +++ b/src/Model/Job.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Job extends \ArrayObject @@ -19,7 +13,7 @@ class Job extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var Pipeline|null diff --git a/src/Model/JobJsonld.php b/src/Model/JobJsonld.php index 23aa47c5..04b1ef9f 100644 --- a/src/Model/JobJsonld.php +++ b/src/Model/JobJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class JobJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class JobJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $label; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/Money.php b/src/Model/Money.php index 1b21d57b..3e6ace12 100644 --- a/src/Model/Money.php +++ b/src/Model/Money.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Money extends \ArrayObject @@ -19,7 +13,7 @@ class Money extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var BigDecimal|null diff --git a/src/Model/MoneyJsonld.php b/src/Model/MoneyJsonld.php index ad240e33..72532ed7 100644 --- a/src/Model/MoneyJsonld.php +++ b/src/Model/MoneyJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class MoneyJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class MoneyJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -96,17 +90,11 @@ public function isInitialized($property): bool */ protected $positiveOrZero; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php index 1ed3bd26..a33e5792 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class OnPremiseRequestJsonldOnPremiseRequestRead extends \ArrayObject @@ -19,7 +13,7 @@ class OnPremiseRequestJsonldOnPremiseRequestRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -84,17 +78,11 @@ 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->initialized['context'] = true; diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php index 93ec52c9..ce1fd3c6 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class OnPremiseRequestJsonldOnPremiseRequestWrite extends \ArrayObject @@ -19,7 +13,7 @@ class OnPremiseRequestJsonldOnPremiseRequestWrite extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $message; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/OnPremiseRequestOnPremiseRequestRead.php b/src/Model/OnPremiseRequestOnPremiseRequestRead.php index d93d5a22..37a3ebfc 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class OnPremiseRequestOnPremiseRequestRead extends \ArrayObject @@ -19,7 +13,7 @@ class OnPremiseRequestOnPremiseRequestRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php index 2d9d524e..f2bc636f 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class OnPremiseRequestOnPremiseRequestWrite extends \ArrayObject @@ -19,7 +13,7 @@ class OnPremiseRequestOnPremiseRequestWrite extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/OpaqueInterfaceJsonld.php b/src/Model/OpaqueInterfaceJsonld.php deleted file mode 100644 index 27694e68..00000000 --- a/src/Model/OpaqueInterfaceJsonld.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/OpaqueInterfaceJsonldSecretUpdate.php b/src/Model/OpaqueInterfaceJsonldSecretUpdate.php new file mode 100644 index 00000000..eec35b08 --- /dev/null +++ b/src/Model/OpaqueInterfaceJsonldSecretUpdate.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/Option.php b/src/Model/Option.php index 4a4957df..de0d29fc 100644 --- a/src/Model/Option.php +++ b/src/Model/Option.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Option extends \ArrayObject @@ -19,7 +13,7 @@ class Option extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -54,7 +48,7 @@ public function isInitialized($property): bool */ protected $features; /** - * @var Price[]|null + * @var BuyablePrice[]|null */ protected $priceList; /** @@ -185,7 +179,7 @@ public function setFeatures(?array $features): self } /** - * @return Price[]|null + * @return BuyablePrice[]|null */ public function getPriceList(): ?array { @@ -193,7 +187,7 @@ public function getPriceList(): ?array } /** - * @param Price[]|null $priceList + * @param BuyablePrice[]|null $priceList */ public function setPriceList(?array $priceList): self { diff --git a/src/Model/OptionJsonld.php b/src/Model/OptionJsonld.php index a2e045c1..c4e42450 100644 --- a/src/Model/OptionJsonld.php +++ b/src/Model/OptionJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class OptionJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class OptionJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -62,7 +56,7 @@ public function isInitialized($property): bool */ protected $features; /** - * @var PriceJsonld[]|null + * @var BuyablePriceJsonld[]|null */ protected $priceList; /** @@ -219,7 +213,7 @@ public function setFeatures(?array $features): self } /** - * @return PriceJsonld[]|null + * @return BuyablePriceJsonld[]|null */ public function getPriceList(): ?array { @@ -227,7 +221,7 @@ public function getPriceList(): ?array } /** - * @param PriceJsonld[]|null $priceList + * @param BuyablePriceJsonld[]|null $priceList */ public function setPriceList(?array $priceList): self { diff --git a/src/Model/Organization.php b/src/Model/Organization.php deleted file mode 100644 index fc5037f3..00000000 --- a/src/Model/Organization.php +++ /dev/null @@ -1,201 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string[]|null - */ - protected $authorizations; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $stripeCode; - /** - * @var string[]|null - */ - protected $users; - /** - * @var string[]|null - */ - protected $externalCollaborators; - /** - * @var string[]|null - */ - protected $workspaces; - /** - * @var \DateTime|null - */ - protected $activeUntil; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getStripeCode(): ?string - { - return $this->stripeCode; - } - - public function setStripeCode(?string $stripeCode): self - { - $this->initialized['stripeCode'] = true; - $this->stripeCode = $stripeCode; - - return $this; - } - - /** - * @return string[]|null - */ - public function getUsers(): ?array - { - return $this->users; - } - - /** - * @param string[]|null $users - */ - public function setUsers(?array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } - - /** - * @return string[]|null - */ - public function getExternalCollaborators(): ?array - { - return $this->externalCollaborators; - } - - /** - * @param string[]|null $externalCollaborators - */ - public function setExternalCollaborators(?array $externalCollaborators): self - { - $this->initialized['externalCollaborators'] = true; - $this->externalCollaborators = $externalCollaborators; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspaces(): ?array - { - return $this->workspaces; - } - - /** - * @param string[]|null $workspaces - */ - public function setWorkspaces(?array $workspaces): self - { - $this->initialized['workspaces'] = true; - $this->workspaces = $workspaces; - - return $this; - } - - public function getActiveUntil(): ?\DateTime - { - return $this->activeUntil; - } - - public function setActiveUntil(?\DateTime $activeUntil): self - { - $this->initialized['activeUntil'] = true; - $this->activeUntil = $activeUntil; - - return $this; - } -} diff --git a/src/Model/OrganizationAddCollaborators.php b/src/Model/OrganizationAddCollaborators.php deleted file mode 100644 index fbab5184..00000000 --- a/src/Model/OrganizationAddCollaborators.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var string[]|null - */ - protected $externalCollaborators; - - /** - * @return string[]|null - */ - public function getExternalCollaborators(): ?array - { - return $this->externalCollaborators; - } - - /** - * @param string[]|null $externalCollaborators - */ - public function setExternalCollaborators(?array $externalCollaborators): self - { - $this->initialized['externalCollaborators'] = true; - $this->externalCollaborators = $externalCollaborators; - - return $this; - } -} diff --git a/src/Model/OrganizationJsonld.php b/src/Model/OrganizationJsonld.php deleted file mode 100644 index 4ff1e0dc..00000000 --- a/src/Model/OrganizationJsonld.php +++ /dev/null @@ -1,258 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string[]|null - */ - protected $authorizations; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $stripeCode; - /** - * @var string[]|null - */ - protected $users; - /** - * @var string[]|null - */ - protected $externalCollaborators; - /** - * @var string[]|null - */ - protected $workspaces; - /** - * @var \DateTime|null - */ - protected $activeUntil; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getStripeCode(): ?string - { - return $this->stripeCode; - } - - public function setStripeCode(?string $stripeCode): self - { - $this->initialized['stripeCode'] = true; - $this->stripeCode = $stripeCode; - - return $this; - } - - /** - * @return string[]|null - */ - public function getUsers(): ?array - { - return $this->users; - } - - /** - * @param string[]|null $users - */ - public function setUsers(?array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } - - /** - * @return string[]|null - */ - public function getExternalCollaborators(): ?array - { - return $this->externalCollaborators; - } - - /** - * @param string[]|null $externalCollaborators - */ - public function setExternalCollaborators(?array $externalCollaborators): self - { - $this->initialized['externalCollaborators'] = true; - $this->externalCollaborators = $externalCollaborators; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspaces(): ?array - { - return $this->workspaces; - } - - /** - * @param string[]|null $workspaces - */ - public function setWorkspaces(?array $workspaces): self - { - $this->initialized['workspaces'] = true; - $this->workspaces = $workspaces; - - return $this; - } - - public function getActiveUntil(): ?\DateTime - { - return $this->activeUntil; - } - - public function setActiveUntil(?\DateTime $activeUntil): self - { - $this->initialized['activeUntil'] = true; - $this->activeUntil = $activeUntil; - - return $this; - } -} diff --git a/src/Model/OrganizationJsonldAddCollaborators.php b/src/Model/OrganizationJsonldAddCollaborators.php index f402ff96..0b2a8be3 100644 --- a/src/Model/OrganizationJsonldAddCollaborators.php +++ b/src/Model/OrganizationJsonldAddCollaborators.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class OrganizationJsonldAddCollaborators extends \ArrayObject @@ -19,7 +13,7 @@ class OrganizationJsonldAddCollaborators extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -33,22 +27,12 @@ public function isInitialized($property): bool * @var string|null */ protected $type; - /** - * @var string[]|null - */ - protected $externalCollaborators; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -82,23 +66,4 @@ public function setType(?string $type): self return $this; } - - /** - * @return string[]|null - */ - public function getExternalCollaborators(): ?array - { - return $this->externalCollaborators; - } - - /** - * @param string[]|null $externalCollaborators - */ - public function setExternalCollaborators(?array $externalCollaborators): self - { - $this->initialized['externalCollaborators'] = true; - $this->externalCollaborators = $externalCollaborators; - - return $this; - } } diff --git a/src/Model/OrganizationJsonldOrganizationRead.php b/src/Model/OrganizationJsonldOrganizationRead.php new file mode 100644 index 00000000..1c17d838 --- /dev/null +++ b/src/Model/OrganizationJsonldOrganizationRead.php @@ -0,0 +1,246 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var string[]|null + */ + protected $authorizations; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $stripeCode; + /** + * @var string[]|null + */ + protected $users; + /** + * @var string[]|null + */ + protected $externalCollaborators; + /** + * @var string[]|null + */ + protected $workspaces; + /** + * @var \DateTime|null + */ + protected $activeUntil; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getStripeCode(): ?string + { + return $this->stripeCode; + } + + public function setStripeCode(?string $stripeCode): self + { + $this->initialized['stripeCode'] = true; + $this->stripeCode = $stripeCode; + + return $this; + } + + /** + * @return string[]|null + */ + public function getUsers(): ?array + { + return $this->users; + } + + /** + * @param string[]|null $users + */ + public function setUsers(?array $users): self + { + $this->initialized['users'] = true; + $this->users = $users; + + return $this; + } + + /** + * @return string[]|null + */ + public function getExternalCollaborators(): ?array + { + return $this->externalCollaborators; + } + + /** + * @param string[]|null $externalCollaborators + */ + public function setExternalCollaborators(?array $externalCollaborators): self + { + $this->initialized['externalCollaborators'] = true; + $this->externalCollaborators = $externalCollaborators; + + return $this; + } + + /** + * @return string[]|null + */ + public function getWorkspaces(): ?array + { + return $this->workspaces; + } + + /** + * @param string[]|null $workspaces + */ + public function setWorkspaces(?array $workspaces): self + { + $this->initialized['workspaces'] = true; + $this->workspaces = $workspaces; + + return $this; + } + + public function getActiveUntil(): ?\DateTime + { + return $this->activeUntil; + } + + public function setActiveUntil(?\DateTime $activeUntil): self + { + $this->initialized['activeUntil'] = true; + $this->activeUntil = $activeUntil; + + return $this; + } +} diff --git a/src/Model/OrganizationJsonldOrganizationWrite.php b/src/Model/OrganizationJsonldOrganizationWrite.php new file mode 100644 index 00000000..127498bb --- /dev/null +++ b/src/Model/OrganizationJsonldOrganizationWrite.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $stripeCode; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getStripeCode(): ?string + { + return $this->stripeCode; + } + + public function setStripeCode(?string $stripeCode): self + { + $this->initialized['stripeCode'] = true; + $this->stripeCode = $stripeCode; + + return $this; + } +} diff --git a/src/Model/OrganizationOrganizationRead.php b/src/Model/OrganizationOrganizationRead.php new file mode 100644 index 00000000..138fa92b --- /dev/null +++ b/src/Model/OrganizationOrganizationRead.php @@ -0,0 +1,195 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string[]|null + */ + protected $authorizations; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $stripeCode; + /** + * @var string[]|null + */ + protected $users; + /** + * @var string[]|null + */ + protected $externalCollaborators; + /** + * @var string[]|null + */ + protected $workspaces; + /** + * @var \DateTime|null + */ + protected $activeUntil; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getStripeCode(): ?string + { + return $this->stripeCode; + } + + public function setStripeCode(?string $stripeCode): self + { + $this->initialized['stripeCode'] = true; + $this->stripeCode = $stripeCode; + + return $this; + } + + /** + * @return string[]|null + */ + public function getUsers(): ?array + { + return $this->users; + } + + /** + * @param string[]|null $users + */ + public function setUsers(?array $users): self + { + $this->initialized['users'] = true; + $this->users = $users; + + return $this; + } + + /** + * @return string[]|null + */ + public function getExternalCollaborators(): ?array + { + return $this->externalCollaborators; + } + + /** + * @param string[]|null $externalCollaborators + */ + public function setExternalCollaborators(?array $externalCollaborators): self + { + $this->initialized['externalCollaborators'] = true; + $this->externalCollaborators = $externalCollaborators; + + return $this; + } + + /** + * @return string[]|null + */ + public function getWorkspaces(): ?array + { + return $this->workspaces; + } + + /** + * @param string[]|null $workspaces + */ + public function setWorkspaces(?array $workspaces): self + { + $this->initialized['workspaces'] = true; + $this->workspaces = $workspaces; + + return $this; + } + + public function getActiveUntil(): ?\DateTime + { + return $this->activeUntil; + } + + public function setActiveUntil(?\DateTime $activeUntil): self + { + $this->initialized['activeUntil'] = true; + $this->activeUntil = $activeUntil; + + return $this; + } +} diff --git a/src/Model/OrganizationOrganizationWrite.php b/src/Model/OrganizationOrganizationWrite.php new file mode 100644 index 00000000..5f14c6a8 --- /dev/null +++ b/src/Model/OrganizationOrganizationWrite.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $stripeCode; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getStripeCode(): ?string + { + return $this->stripeCode; + } + + public function setStripeCode(?string $stripeCode): self + { + $this->initialized['stripeCode'] = true; + $this->stripeCode = $stripeCode; + + return $this; + } +} diff --git a/src/Model/Pipeline.php b/src/Model/Pipeline.php index 1ccdde13..6fe69bd0 100644 --- a/src/Model/Pipeline.php +++ b/src/Model/Pipeline.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Pipeline extends \ArrayObject @@ -19,7 +13,7 @@ class Pipeline extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var Step[]|null diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInput.php b/src/Model/PipelineAddAfterPipelineStepCommandInput.php deleted file mode 100644 index 997af030..00000000 --- a/src/Model/PipelineAddAfterPipelineStepCommandInput.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var Probe[]|null - */ - protected $probes; - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return Probe[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param Probe[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php deleted file mode 100644 index 3f196546..00000000 --- a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php +++ /dev/null @@ -1,161 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var ProbeJsonld[]|null - */ - protected $probes; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return ProbeJsonld[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param ProbeJsonld[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..9959dc60 --- /dev/null +++ b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..4b5e11fe --- /dev/null +++ b/src/Model/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php deleted file mode 100644 index 8f0dedd7..00000000 --- a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInput.php b/src/Model/PipelineAddBeforePipelineStepCommandInput.php deleted file mode 100644 index 28d334fb..00000000 --- a/src/Model/PipelineAddBeforePipelineStepCommandInput.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var Probe[]|null - */ - protected $probes; - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return Probe[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param Probe[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php deleted file mode 100644 index 4e8d7860..00000000 --- a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php +++ /dev/null @@ -1,161 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var ProbeJsonld[]|null - */ - protected $probes; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return ProbeJsonld[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param ProbeJsonld[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..5b850e8a --- /dev/null +++ b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..1cb48bb9 --- /dev/null +++ b/src/Model/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php deleted file mode 100644 index 9c65bbc4..00000000 --- a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerAuthCommandInput.php b/src/Model/PipelineAddPipelineComposerAuthCommandInput.php deleted file mode 100644 index 8d5bd63e..00000000 --- a/src/Model/PipelineAddPipelineComposerAuthCommandInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $url; - /** - * @var string|null - */ - protected $token; - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getToken(): ?string - { - return $this->token; - } - - public function setToken(?string $token): self - { - $this->initialized['token'] = true; - $this->token = $token; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonld.php deleted file mode 100644 index baa97c3b..00000000 --- a/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $url; - /** - * @var string|null - */ - protected $token; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getToken(): ?string - { - return $this->token; - } - - public function setToken(?string $token): self - { - $this->initialized['token'] = true; - $this->token = $token; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..6833b121 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..c2bc1421 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerAuthCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerAuthCommandJsonldRead.php deleted file mode 100644 index d734caba..00000000 --- a/src/Model/PipelineAddPipelineComposerAuthCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php deleted file mode 100644 index a6784a10..00000000 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $namespace; - /** - * @var string[]|null - */ - protected $paths; - - public function getNamespace(): ?string - { - return $this->namespace; - } - - public function setNamespace(?string $namespace): self - { - $this->initialized['namespace'] = true; - $this->namespace = $namespace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getPaths(): ?array - { - return $this->paths; - } - - /** - * @param string[]|null $paths - */ - public function setPaths(?array $paths): self - { - $this->initialized['paths'] = true; - $this->paths = $paths; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php deleted file mode 100644 index 26c0358f..00000000 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php +++ /dev/null @@ -1,121 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $namespace; - /** - * @var string[]|null - */ - protected $paths; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getNamespace(): ?string - { - return $this->namespace; - } - - public function setNamespace(?string $namespace): self - { - $this->initialized['namespace'] = true; - $this->namespace = $namespace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getPaths(): ?array - { - return $this->paths; - } - - /** - * @param string[]|null $paths - */ - public function setPaths(?array $paths): self - { - $this->initialized['paths'] = true; - $this->paths = $paths; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..287dba94 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..a22ad18e --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php deleted file mode 100644 index b889a7c4..00000000 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandInput.php b/src/Model/PipelineAddPipelineComposerPackageCommandInput.php deleted file mode 100644 index 0ea6a699..00000000 --- a/src/Model/PipelineAddPipelineComposerPackageCommandInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $package; - /** - * @var string|null - */ - protected $version; - - public function getPackage(): ?string - { - return $this->package; - } - - public function setPackage(?string $package): self - { - $this->initialized['package'] = true; - $this->package = $package; - - return $this; - } - - public function getVersion(): ?string - { - return $this->version; - } - - public function setVersion(?string $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonld.php deleted file mode 100644 index 816b7d1f..00000000 --- a/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $package; - /** - * @var string|null - */ - protected $version; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getPackage(): ?string - { - return $this->package; - } - - public function setPackage(?string $package): self - { - $this->initialized['package'] = true; - $this->package = $package; - - return $this; - } - - public function getVersion(): ?string - { - return $this->version; - } - - public function setVersion(?string $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..275b2e55 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..35f12489 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerPackageCommandJsonldRead.php deleted file mode 100644 index 43948aa9..00000000 --- a/src/Model/PipelineAddPipelineComposerPackageCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandInput.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandInput.php deleted file mode 100644 index d39de2bf..00000000 --- a/src/Model/PipelineAddPipelineComposerRepositoryCommandInput.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $url; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php deleted file mode 100644 index aa92372b..00000000 --- a/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $type2; - /** - * @var string|null - */ - protected $url; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getType2(): ?string - { - return $this->type2; - } - - public function setType2(?string $type2): self - { - $this->initialized['type2'] = true; - $this->type2 = $type2; - - return $this; - } - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..878750b2 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..8112814c --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldRead.php deleted file mode 100644 index fa069deb..00000000 --- a/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineStepProbeCommandInput.php b/src/Model/PipelineAddPipelineStepProbeCommandInput.php deleted file mode 100644 index 3d9ada66..00000000 --- a/src/Model/PipelineAddPipelineStepProbeCommandInput.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var Probe|null - */ - protected $probe; - - public function getProbe(): ?Probe - { - return $this->probe; - } - - public function setProbe(?Probe $probe): self - { - $this->initialized['probe'] = true; - $this->probe = $probe; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineStepProbeCommandInputJsonld.php b/src/Model/PipelineAddPipelineStepProbeCommandInputJsonld.php deleted file mode 100644 index 0993d569..00000000 --- a/src/Model/PipelineAddPipelineStepProbeCommandInputJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var ProbeJsonld|null - */ - protected $probe; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getProbe(): ?ProbeJsonld - { - return $this->probe; - } - - public function setProbe(?ProbeJsonld $probe): self - { - $this->initialized['probe'] = true; - $this->probe = $probe; - - return $this; - } -} diff --git a/src/Model/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..948260bb --- /dev/null +++ b/src/Model/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..a00b5f30 --- /dev/null +++ b/src/Model/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php deleted file mode 100644 index 10e01fbe..00000000 --- a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineAppendPipelineStepCommandInput.php b/src/Model/PipelineAppendPipelineStepCommandInput.php deleted file mode 100644 index a429401d..00000000 --- a/src/Model/PipelineAppendPipelineStepCommandInput.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var Probe[]|null - */ - protected $probes; - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return Probe[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param Probe[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php deleted file mode 100644 index 8a7c56f4..00000000 --- a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php +++ /dev/null @@ -1,161 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var ProbeJsonld[]|null - */ - protected $probes; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return ProbeJsonld[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param ProbeJsonld[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineAppendPipelineStepCommandInputJsonldPipelineWrite.php b/src/Model/PipelineAppendPipelineStepCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..7fcf17fc --- /dev/null +++ b/src/Model/PipelineAppendPipelineStepCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..883b7c87 --- /dev/null +++ b/src/Model/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php b/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php deleted file mode 100644 index 6a07d149..00000000 --- a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineCompilePipelineCommandInputJsonld.php b/src/Model/PipelineCompilePipelineCommandInputJsonld.php deleted file mode 100644 index 0b9ec40d..00000000 --- a/src/Model/PipelineCompilePipelineCommandInputJsonld.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineCompilePipelineCommandInputJsonldPipelineWrite.php b/src/Model/PipelineCompilePipelineCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..0c1b5a1f --- /dev/null +++ b/src/Model/PipelineCompilePipelineCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..f0e735bf --- /dev/null +++ b/src/Model/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineCompilePipelineCommandJsonldRead.php b/src/Model/PipelineCompilePipelineCommandJsonldRead.php deleted file mode 100644 index 4c8906be..00000000 --- a/src/Model/PipelineCompilePipelineCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineCommandInput.php b/src/Model/PipelineDeclarePipelineCommandInput.php deleted file mode 100644 index 8e5db3da..00000000 --- a/src/Model/PipelineDeclarePipelineCommandInput.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var Step[]|null - */ - protected $steps; - /** - * @var Composer|null - */ - protected $composer; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - - /** - * @return Step[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param Step[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } - - public function getComposer(): ?Composer - { - return $this->composer; - } - - public function setComposer(?Composer $composer): self - { - $this->initialized['composer'] = true; - $this->composer = $composer; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php deleted file mode 100644 index eb732a69..00000000 --- a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php +++ /dev/null @@ -1,155 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var StepJsonld[]|null - */ - protected $steps; - /** - * @var ComposerJsonld|null - */ - protected $composer; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return StepJsonld[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param StepJsonld[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } - - public function getComposer(): ?ComposerJsonld - { - return $this->composer; - } - - public function setComposer(?ComposerJsonld $composer): self - { - $this->initialized['composer'] = true; - $this->composer = $composer; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineCommandInputJsonldPipelineWrite.php b/src/Model/PipelineDeclarePipelineCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..e97f2644 --- /dev/null +++ b/src/Model/PipelineDeclarePipelineCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..a9daac30 --- /dev/null +++ b/src/Model/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php b/src/Model/PipelineDeclarePipelineCommandJsonldRead.php deleted file mode 100644 index d0eecf35..00000000 --- a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInput.php b/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInput.php deleted file mode 100644 index 9c0e1d00..00000000 --- a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInput.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $environment; - - public function getEnvironment(): ?string - { - return $this->environment; - } - - public function setEnvironment(?string $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonld.php b/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonld.php deleted file mode 100644 index e4fe024d..00000000 --- a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $environment; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getEnvironment(): ?string - { - return $this->environment; - } - - public function setEnvironment(?string $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite.php b/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..56191630 --- /dev/null +++ b/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..10eb159f --- /dev/null +++ b/src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldRead.php b/src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldRead.php deleted file mode 100644 index 7fdf226b..00000000 --- a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineScheduleOnceCommandInput.php b/src/Model/PipelineDeclarePipelineScheduleOnceCommandInput.php deleted file mode 100644 index f4925382..00000000 --- a/src/Model/PipelineDeclarePipelineScheduleOnceCommandInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var string|null - */ - protected $environment; - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getEnvironment(): ?string - { - return $this->environment; - } - - public function setEnvironment(?string $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonld.php b/src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonld.php deleted file mode 100644 index 2b548b3b..00000000 --- a/src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var \DateTime|null - */ - protected $date; - /** - * @var string|null - */ - protected $environment; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getEnvironment(): ?string - { - return $this->environment; - } - - public function setEnvironment(?string $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } -} diff --git a/src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite.php b/src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..0282b628 --- /dev/null +++ b/src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..be585f68 --- /dev/null +++ b/src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldRead.php b/src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldRead.php deleted file mode 100644 index e2cee976..00000000 --- a/src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineJsonld.php b/src/Model/PipelineJsonld.php index 7a85c54f..1087066b 100644 --- a/src/Model/PipelineJsonld.php +++ b/src/Model/PipelineJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class PipelineJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class PipelineJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $code; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/PipelineJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..0d4bf0f1 --- /dev/null +++ b/src/Model/PipelineJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,269 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var bool|null + */ + protected $isSoftDeleted; + /** + * @var \DateTime|null + */ + protected $compiledAt; + /** + * @var string[]|null + */ + protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $steps; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + public function getIsSoftDeleted(): ?bool + { + return $this->isSoftDeleted; + } + + public function setIsSoftDeleted(?bool $isSoftDeleted): self + { + $this->initialized['isSoftDeleted'] = true; + $this->isSoftDeleted = $isSoftDeleted; + + return $this; + } + + public function getCompiledAt(): ?\DateTime + { + return $this->compiledAt; + } + + public function setCompiledAt(?\DateTime $compiledAt): self + { + $this->initialized['compiledAt'] = true; + $this->compiledAt = $compiledAt; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAutoload(): ?array + { + return $this->autoload; + } + + /** + * @param string[]|null $autoload + */ + public function setAutoload(?array $autoload): self + { + $this->initialized['autoload'] = true; + $this->autoload = $autoload; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->initialized['packages'] = true; + $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->initialized['repositories'] = true; + $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->initialized['auths'] = true; + $this->auths = $auths; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/PipelineJsonldRead.php b/src/Model/PipelineJsonldRead.php deleted file mode 100644 index 657da7df..00000000 --- a/src/Model/PipelineJsonldRead.php +++ /dev/null @@ -1,321 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var int|null - */ - protected $currentVersion; - /** - * @var bool|null - */ - protected $isSoftDeleted; - /** - * @var \DateTime|null - */ - protected $compiledAt; - /** - * @var string[]|null - */ - protected $autoload; - /** - * @var string[]|null - */ - protected $packages; - /** - * @var string[]|null - */ - protected $repositories; - /** - * @var string[]|null - */ - protected $auths; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $runtime; - /** - * @var PipelineStepJsonldRead[]|null - */ - protected $steps; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } - - public function getIsSoftDeleted(): ?bool - { - return $this->isSoftDeleted; - } - - public function setIsSoftDeleted(?bool $isSoftDeleted): self - { - $this->initialized['isSoftDeleted'] = true; - $this->isSoftDeleted = $isSoftDeleted; - - return $this; - } - - public function getCompiledAt(): ?\DateTime - { - return $this->compiledAt; - } - - public function setCompiledAt(?\DateTime $compiledAt): self - { - $this->initialized['compiledAt'] = true; - $this->compiledAt = $compiledAt; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAutoload(): ?array - { - return $this->autoload; - } - - /** - * @param string[]|null $autoload - */ - public function setAutoload(?array $autoload): self - { - $this->initialized['autoload'] = true; - $this->autoload = $autoload; - - return $this; - } - - /** - * @return string[]|null - */ - public function getPackages(): ?array - { - return $this->packages; - } - - /** - * @param string[]|null $packages - */ - public function setPackages(?array $packages): self - { - $this->initialized['packages'] = true; - $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->initialized['repositories'] = true; - $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->initialized['auths'] = true; - $this->auths = $auths; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getRuntime(): ?array - { - return $this->runtime; - } - - /** - * @param string[]|null $runtime - */ - public function setRuntime(?array $runtime): self - { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; - - return $this; - } - - /** - * @return PipelineStepJsonldRead[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param PipelineStepJsonldRead[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php deleted file mode 100644 index 1f7c34e8..00000000 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $after; - /** - * @var string|null - */ - protected $code; - - public function getAfter(): ?string - { - return $this->after; - } - - public function setAfter(?string $after): self - { - $this->initialized['after'] = true; - $this->after = $after; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } -} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php deleted file mode 100644 index 5c3da4e5..00000000 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $after; - /** - * @var string|null - */ - protected $code; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getAfter(): ?string - { - return $this->after; - } - - public function setAfter(?string $after): self - { - $this->initialized['after'] = true; - $this->after = $after; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } -} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite.php b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..b0df9a81 --- /dev/null +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..a9568011 --- /dev/null +++ b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php deleted file mode 100644 index b7833990..00000000 --- a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php deleted file mode 100644 index 61776d9a..00000000 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $before; - /** - * @var string|null - */ - protected $code; - - public function getBefore(): ?string - { - return $this->before; - } - - public function setBefore(?string $before): self - { - $this->initialized['before'] = true; - $this->before = $before; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } -} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php deleted file mode 100644 index 856dac1c..00000000 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $before; - /** - * @var string|null - */ - protected $code; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getBefore(): ?string - { - return $this->before; - } - - public function setBefore(?string $before): self - { - $this->initialized['before'] = true; - $this->before = $before; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } -} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite.php b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..b77191b6 --- /dev/null +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..464b1d32 --- /dev/null +++ b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php deleted file mode 100644 index ed8b3dbd..00000000 --- a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelinePipelineReadPipelineSubresourceRead.php b/src/Model/PipelinePipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..8485295a --- /dev/null +++ b/src/Model/PipelinePipelineReadPipelineSubresourceRead.php @@ -0,0 +1,218 @@ +initialized); + } + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var bool|null + */ + protected $isSoftDeleted; + /** + * @var \DateTime|null + */ + protected $compiledAt; + /** + * @var string[]|null + */ + protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $steps; + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + public function getIsSoftDeleted(): ?bool + { + return $this->isSoftDeleted; + } + + public function setIsSoftDeleted(?bool $isSoftDeleted): self + { + $this->initialized['isSoftDeleted'] = true; + $this->isSoftDeleted = $isSoftDeleted; + + return $this; + } + + public function getCompiledAt(): ?\DateTime + { + return $this->compiledAt; + } + + public function setCompiledAt(?\DateTime $compiledAt): self + { + $this->initialized['compiledAt'] = true; + $this->compiledAt = $compiledAt; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAutoload(): ?array + { + return $this->autoload; + } + + /** + * @param string[]|null $autoload + */ + public function setAutoload(?array $autoload): self + { + $this->initialized['autoload'] = true; + $this->autoload = $autoload; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->initialized['packages'] = true; + $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->initialized['repositories'] = true; + $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->initialized['auths'] = true; + $this->auths = $auths; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/PipelineRead.php b/src/Model/PipelineRead.php deleted file mode 100644 index 94bec2ca..00000000 --- a/src/Model/PipelineRead.php +++ /dev/null @@ -1,264 +0,0 @@ -initialized); - } - /** - * @var int|null - */ - protected $currentVersion; - /** - * @var bool|null - */ - protected $isSoftDeleted; - /** - * @var \DateTime|null - */ - protected $compiledAt; - /** - * @var string[]|null - */ - protected $autoload; - /** - * @var string[]|null - */ - protected $packages; - /** - * @var string[]|null - */ - protected $repositories; - /** - * @var string[]|null - */ - protected $auths; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $runtime; - /** - * @var PipelineStepRead[]|null - */ - protected $steps; - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } - - public function getIsSoftDeleted(): ?bool - { - return $this->isSoftDeleted; - } - - public function setIsSoftDeleted(?bool $isSoftDeleted): self - { - $this->initialized['isSoftDeleted'] = true; - $this->isSoftDeleted = $isSoftDeleted; - - return $this; - } - - public function getCompiledAt(): ?\DateTime - { - return $this->compiledAt; - } - - public function setCompiledAt(?\DateTime $compiledAt): self - { - $this->initialized['compiledAt'] = true; - $this->compiledAt = $compiledAt; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAutoload(): ?array - { - return $this->autoload; - } - - /** - * @param string[]|null $autoload - */ - public function setAutoload(?array $autoload): self - { - $this->initialized['autoload'] = true; - $this->autoload = $autoload; - - return $this; - } - - /** - * @return string[]|null - */ - public function getPackages(): ?array - { - return $this->packages; - } - - /** - * @param string[]|null $packages - */ - public function setPackages(?array $packages): self - { - $this->initialized['packages'] = true; - $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->initialized['repositories'] = true; - $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->initialized['auths'] = true; - $this->auths = $auths; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getRuntime(): ?array - { - return $this->runtime; - } - - /** - * @param string[]|null $runtime - */ - public function setRuntime(?array $runtime): self - { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; - - return $this; - } - - /** - * @return PipelineStepRead[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param PipelineStepRead[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandInput.php b/src/Model/PipelineRemovePipelineComposerAuthCommandInput.php deleted file mode 100644 index 73d01e78..00000000 --- a/src/Model/PipelineRemovePipelineComposerAuthCommandInput.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $url; - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonld.php deleted file mode 100644 index 94381c24..00000000 --- a/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $url; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite.php b/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..9a442279 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..03b13869 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldRead.php deleted file mode 100644 index 26aff790..00000000 --- a/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInput.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInput.php deleted file mode 100644 index 70ecdf04..00000000 --- a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInput.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $namespace; - - public function getNamespace(): ?string - { - return $this->namespace; - } - - public function setNamespace(?string $namespace): self - { - $this->initialized['namespace'] = true; - $this->namespace = $namespace; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld.php deleted file mode 100644 index 36bc1551..00000000 --- a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $namespace; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getNamespace(): ?string - { - return $this->namespace; - } - - public function setNamespace(?string $namespace): self - { - $this->initialized['namespace'] = true; - $this->namespace = $namespace; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..3b271d8f --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..cf9e78ce --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php deleted file mode 100644 index f89a67b8..00000000 --- a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerPackageCommandInput.php b/src/Model/PipelineRemovePipelineComposerPackageCommandInput.php deleted file mode 100644 index 2caea2a2..00000000 --- a/src/Model/PipelineRemovePipelineComposerPackageCommandInput.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $package; - - public function getPackage(): ?string - { - return $this->package; - } - - public function setPackage(?string $package): self - { - $this->initialized['package'] = true; - $this->package = $package; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonld.php deleted file mode 100644 index 46789c83..00000000 --- a/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $package; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getPackage(): ?string - { - return $this->package; - } - - public function setPackage(?string $package): self - { - $this->initialized['package'] = true; - $this->package = $package; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite.php b/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..4c7049db --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..d1f6a330 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldRead.php deleted file mode 100644 index 57c0cbc4..00000000 --- a/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerRepositoryCommandInput.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInput.php deleted file mode 100644 index 876138a5..00000000 --- a/src/Model/PipelineRemovePipelineComposerRepositoryCommandInput.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php deleted file mode 100644 index 64df7213..00000000 --- a/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..9f11b143 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..e57b1ee1 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php deleted file mode 100644 index a479aa74..00000000 --- a/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..65bc5baa --- /dev/null +++ b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php deleted file mode 100644 index a539a6e2..00000000 --- a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineReorderPipelineStepsCommandInput.php b/src/Model/PipelineReorderPipelineStepsCommandInput.php deleted file mode 100644 index 8288ded7..00000000 --- a/src/Model/PipelineReorderPipelineStepsCommandInput.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var string[]|null - */ - protected $codes; - - /** - * @return string[]|null - */ - public function getCodes(): ?array - { - return $this->codes; - } - - /** - * @param string[]|null $codes - */ - public function setCodes(?array $codes): self - { - $this->initialized['codes'] = true; - $this->codes = $codes; - - return $this; - } -} diff --git a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php deleted file mode 100644 index 22765617..00000000 --- a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string[]|null - */ - protected $codes; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return string[]|null - */ - public function getCodes(): ?array - { - return $this->codes; - } - - /** - * @param string[]|null $codes - */ - public function setCodes(?array $codes): self - { - $this->initialized['codes'] = true; - $this->codes = $codes; - - return $this; - } -} diff --git a/src/Model/PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite.php b/src/Model/PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..5175350b --- /dev/null +++ b/src/Model/PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..bf184aa3 --- /dev/null +++ b/src/Model/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php b/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php deleted file mode 100644 index 7097a17c..00000000 --- a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineReplacePipelineStepCommandInput.php b/src/Model/PipelineReplacePipelineStepCommandInput.php deleted file mode 100644 index a7aec074..00000000 --- a/src/Model/PipelineReplacePipelineStepCommandInput.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var Probe[]|null - */ - protected $probes; - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return Probe[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param Probe[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php deleted file mode 100644 index 599ec6ba..00000000 --- a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php +++ /dev/null @@ -1,161 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - /** - * @var ProbeJsonld[]|null - */ - protected $probes; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?iterable - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?iterable $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - /** - * @return ProbeJsonld[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param ProbeJsonld[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } -} diff --git a/src/Model/PipelineReplacePipelineStepCommandInputJsonldPipelineWrite.php b/src/Model/PipelineReplacePipelineStepCommandInputJsonldPipelineWrite.php new file mode 100644 index 00000000..c5f3913a --- /dev/null +++ b/src/Model/PipelineReplacePipelineStepCommandInputJsonldPipelineWrite.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php b/src/Model/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php new file mode 100644 index 00000000..6b874047 --- /dev/null +++ b/src/Model/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php b/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php deleted file mode 100644 index a3cdd0f6..00000000 --- a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/PipelineStep.php b/src/Model/PipelineStep.php deleted file mode 100644 index 4ac89a28..00000000 --- a/src/Model/PipelineStep.php +++ /dev/null @@ -1,155 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var int|null - */ - protected $order; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var AbstractPipeline|null - */ - protected $pipeline; - /** - * @var string[]|null - */ - protected $probes; - /** - * @var string[]|null - */ - protected $configuration; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getOrder(): ?int - { - return $this->order; - } - - public function setOrder(?int $order): self - { - $this->initialized['order'] = true; - $this->order = $order; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - public function getPipeline(): ?AbstractPipeline - { - return $this->pipeline; - } - - public function setPipeline(?AbstractPipeline $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - /** - * @return string[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param string[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/PipelineStepJobRead.php b/src/Model/PipelineStepJobRead.php new file mode 100644 index 00000000..55ed3765 --- /dev/null +++ b/src/Model/PipelineStepJobRead.php @@ -0,0 +1,132 @@ +initialized); + } + /** + * @var int|null + */ + protected $order; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var AbstractPipelineJobRead|null + */ + protected $pipeline; + /** + * @var string[]|null + */ + protected $probes; + /** + * @var string[]|null + */ + protected $configuration; + + public function getOrder(): ?int + { + return $this->order; + } + + public function setOrder(?int $order): self + { + $this->initialized['order'] = true; + $this->order = $order; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getPipeline(): ?AbstractPipelineJobRead + { + return $this->pipeline; + } + + public function setPipeline(?AbstractPipelineJobRead $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + /** + * @return string[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param string[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/PipelineStepJsonld.php b/src/Model/PipelineStepJsonld.php deleted file mode 100644 index 868dbd72..00000000 --- a/src/Model/PipelineStepJsonld.php +++ /dev/null @@ -1,212 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var int|null - */ - protected $order; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var AbstractPipelineJsonld|null - */ - protected $pipeline; - /** - * @var string[]|null - */ - protected $probes; - /** - * @var string[]|null - */ - protected $configuration; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getOrder(): ?int - { - return $this->order; - } - - public function setOrder(?int $order): self - { - $this->initialized['order'] = true; - $this->order = $order; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - public function getPipeline(): ?AbstractPipelineJsonld - { - return $this->pipeline; - } - - public function setPipeline(?AbstractPipelineJsonld $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - /** - * @return string[]|null - */ - public function getProbes(): ?array - { - return $this->probes; - } - - /** - * @param string[]|null $probes - */ - public function setProbes(?array $probes): self - { - $this->initialized['probes'] = true; - $this->probes = $probes; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/PipelineStepJsonldJobRead.php b/src/Model/PipelineStepJsonldJobRead.php new file mode 100644 index 00000000..12da69f2 --- /dev/null +++ b/src/Model/PipelineStepJsonldJobRead.php @@ -0,0 +1,183 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var int|null + */ + protected $order; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var AbstractPipelineJsonldJobRead|null + */ + protected $pipeline; + /** + * @var string[]|null + */ + protected $probes; + /** + * @var string[]|null + */ + protected $configuration; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getOrder(): ?int + { + return $this->order; + } + + public function setOrder(?int $order): self + { + $this->initialized['order'] = true; + $this->order = $order; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getPipeline(): ?AbstractPipelineJsonldJobRead + { + return $this->pipeline; + } + + public function setPipeline(?AbstractPipelineJsonldJobRead $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + /** + * @return string[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param string[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/PipelineStepJsonldRead.php b/src/Model/PipelineStepJsonldRead.php deleted file mode 100644 index 7653c188..00000000 --- a/src/Model/PipelineStepJsonldRead.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/PipelineStepJsonldStepRead.php b/src/Model/PipelineStepJsonldStepRead.php new file mode 100644 index 00000000..419bce59 --- /dev/null +++ b/src/Model/PipelineStepJsonldStepRead.php @@ -0,0 +1,183 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var int|null + */ + protected $order; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var AbstractPipelineJsonldStepRead|null + */ + protected $pipeline; + /** + * @var string[]|null + */ + protected $probes; + /** + * @var string[]|null + */ + protected $configuration; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getOrder(): ?int + { + return $this->order; + } + + public function setOrder(?int $order): self + { + $this->initialized['order'] = true; + $this->order = $order; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getPipeline(): ?AbstractPipelineJsonldStepRead + { + return $this->pipeline; + } + + public function setPipeline(?AbstractPipelineJsonldStepRead $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + /** + * @return string[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param string[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/PipelineStepProbe.php b/src/Model/PipelineStepProbe.php deleted file mode 100644 index 5e61f871..00000000 --- a/src/Model/PipelineStepProbe.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var int|null - */ - protected $order; - /** - * @var string|null - */ - protected $label; - /** - * @var string|null - */ - protected $step; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getOrder(): ?int - { - return $this->order; - } - - public function setOrder(?int $order): self - { - $this->initialized['order'] = true; - $this->order = $order; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - public function getStep(): ?string - { - return $this->step; - } - - public function setStep(?string $step): self - { - $this->initialized['step'] = true; - $this->step = $step; - - return $this; - } -} diff --git a/src/Model/PipelineStepProbeJsonld.php b/src/Model/PipelineStepProbeJsonld.php deleted file mode 100644 index 7becfcff..00000000 --- a/src/Model/PipelineStepProbeJsonld.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var int|null - */ - protected $order; - /** - * @var string|null - */ - protected $label; - /** - * @var string|null - */ - protected $step; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getOrder(): ?int - { - return $this->order; - } - - public function setOrder(?int $order): self - { - $this->initialized['order'] = true; - $this->order = $order; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - public function getStep(): ?string - { - return $this->step; - } - - public function setStep(?string $step): self - { - $this->initialized['step'] = true; - $this->step = $step; - - return $this; - } -} diff --git a/src/Model/PipelineStepProbeJsonldStepProbeRead.php b/src/Model/PipelineStepProbeJsonldStepProbeRead.php new file mode 100644 index 00000000..babf227c --- /dev/null +++ b/src/Model/PipelineStepProbeJsonldStepProbeRead.php @@ -0,0 +1,137 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $step; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getStep(): ?string + { + return $this->step; + } + + public function setStep(?string $step): self + { + $this->initialized['step'] = true; + $this->step = $step; + + return $this; + } +} diff --git a/src/Model/PipelineStepProbeStepProbeRead.php b/src/Model/PipelineStepProbeStepProbeRead.php new file mode 100644 index 00000000..6c386754 --- /dev/null +++ b/src/Model/PipelineStepProbeStepProbeRead.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $step; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getStep(): ?string + { + return $this->step; + } + + public function setStep(?string $step): self + { + $this->initialized['step'] = true; + $this->step = $step; + + return $this; + } +} diff --git a/src/Model/PipelineStepRead.php b/src/Model/PipelineStepRead.php deleted file mode 100644 index ddbf6e6f..00000000 --- a/src/Model/PipelineStepRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/PipelineStepStepRead.php b/src/Model/PipelineStepStepRead.php new file mode 100644 index 00000000..a1c58829 --- /dev/null +++ b/src/Model/PipelineStepStepRead.php @@ -0,0 +1,138 @@ +initialized); + } + /** + * @var int|null + */ + protected $order; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var mixed[]|null + */ + protected $pipeline; + /** + * @var string[]|null + */ + protected $probes; + /** + * @var string[]|null + */ + protected $configuration; + + public function getOrder(): ?int + { + return $this->order; + } + + public function setOrder(?int $order): self + { + $this->initialized['order'] = true; + $this->order = $order; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return mixed[]|null + */ + public function getPipeline(): ?iterable + { + return $this->pipeline; + } + + /** + * @param mixed[]|null $pipeline + */ + public function setPipeline(?iterable $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + /** + * @return string[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param string[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/Price.php b/src/Model/Price.php index f2da05f9..4671f067 100644 --- a/src/Model/Price.php +++ b/src/Model/Price.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Price extends \ArrayObject @@ -19,20 +13,8 @@ class Price extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } - /** - * @var string|null - */ - protected $id; - /** - * @var Buyable|null - */ - protected $buyable; - /** - * @var SubscriptionType|null - */ - protected $type; /** * @var string|null */ @@ -46,45 +28,6 @@ public function isInitialized($property): bool */ protected $currency; - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getBuyable(): ?Buyable - { - return $this->buyable; - } - - public function setBuyable(?Buyable $buyable): self - { - $this->initialized['buyable'] = true; - $this->buyable = $buyable; - - return $this; - } - - public function getType(): ?SubscriptionType - { - return $this->type; - } - - public function setType(?SubscriptionType $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - public function getAmount(): ?string { return $this->amount; diff --git a/src/Model/PriceJsonld.php b/src/Model/PriceJsonld.php index acfbf32f..fcb6243c 100644 --- a/src/Model/PriceJsonld.php +++ b/src/Model/PriceJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class PriceJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class PriceJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -33,18 +27,6 @@ public function isInitialized($property): bool * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var BuyableJsonld|null - */ - protected $buyable; - /** - * @var SubscriptionTypeJsonld|null - */ - protected $type2; /** * @var string|null */ @@ -58,17 +40,11 @@ public function isInitialized($property): bool */ protected $currency; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -103,45 +79,6 @@ public function setType(?string $type): self return $this; } - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getBuyable(): ?BuyableJsonld - { - return $this->buyable; - } - - public function setBuyable(?BuyableJsonld $buyable): self - { - $this->initialized['buyable'] = true; - $this->buyable = $buyable; - - return $this; - } - - public function getType2(): ?SubscriptionTypeJsonld - { - return $this->type2; - } - - public function setType2(?SubscriptionTypeJsonld $type2): self - { - $this->initialized['type2'] = true; - $this->type2 = $type2; - - return $this; - } - public function getAmount(): ?string { return $this->amount; diff --git a/src/Model/PriceJsonldRead.php b/src/Model/PriceJsonldRead.php deleted file mode 100644 index 411fa64b..00000000 --- a/src/Model/PriceJsonldRead.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var SubscriptionTypeJsonldRead|null - */ - protected $type2; - /** - * @var string|null - */ - protected $amount; - /** - * @var string|null - */ - protected $currency; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getType2(): ?SubscriptionTypeJsonldRead - { - return $this->type2; - } - - public function setType2(?SubscriptionTypeJsonldRead $type2): self - { - $this->initialized['type2'] = true; - $this->type2 = $type2; - - return $this; - } - - public function getAmount(): ?string - { - return $this->amount; - } - - public function setAmount(?string $amount): self - { - $this->initialized['amount'] = true; - $this->amount = $amount; - - return $this; - } - - public function getCurrency(): ?string - { - return $this->currency; - } - - public function setCurrency(?string $currency): self - { - $this->initialized['currency'] = true; - $this->currency = $currency; - - return $this; - } -} diff --git a/src/Model/PriceRead.php b/src/Model/PriceRead.php deleted file mode 100644 index bc276123..00000000 --- a/src/Model/PriceRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed[]|null - */ - protected $type; - /** - * @var string|null - */ - protected $amount; - /** - * @var string|null - */ - protected $currency; - - /** - * @return mixed[]|null - */ - public function getType(): ?iterable - { - return $this->type; - } - - /** - * @param mixed[]|null $type - */ - public function setType(?iterable $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getAmount(): ?string - { - return $this->amount; - } - - public function setAmount(?string $amount): self - { - $this->initialized['amount'] = true; - $this->amount = $amount; - - return $this; - } - - public function getCurrency(): ?string - { - return $this->currency; - } - - public function setCurrency(?string $currency): self - { - $this->initialized['currency'] = true; - $this->currency = $currency; - - return $this; - } -} diff --git a/src/Model/Probe.php b/src/Model/Probe.php index 171331d6..fc4ed6dd 100644 --- a/src/Model/Probe.php +++ b/src/Model/Probe.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Probe extends \ArrayObject @@ -19,7 +13,7 @@ class Probe extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ProbeJsonld.php b/src/Model/ProbeJsonld.php index c5cc90e3..4e4f0aaa 100644 --- a/src/Model/ProbeJsonld.php +++ b/src/Model/ProbeJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ProbeJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ProbeJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $label; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ReferralCodeJsonldReferralCodeRead.php b/src/Model/ReferralCodeJsonldReferralCodeRead.php index afcb23fb..2ef4f469 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeRead.php +++ b/src/Model/ReferralCodeJsonldReferralCodeRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodeJsonldReferralCodeRead extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodeJsonldReferralCodeRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -76,17 +70,11 @@ 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->initialized['context'] = true; diff --git a/src/Model/ReferralCodeJsonldReferralCodeWrite.php b/src/Model/ReferralCodeJsonldReferralCodeWrite.php index af2055ce..62b83226 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeWrite.php +++ b/src/Model/ReferralCodeJsonldReferralCodeWrite.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodeJsonldReferralCodeWrite extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodeJsonldReferralCodeWrite extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -38,17 +32,11 @@ public function isInitialized($property): bool */ protected $user; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ReferralCodeReferralCodeRead.php b/src/Model/ReferralCodeReferralCodeRead.php index d7f62901..857f8080 100644 --- a/src/Model/ReferralCodeReferralCodeRead.php +++ b/src/Model/ReferralCodeReferralCodeRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodeReferralCodeRead extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodeReferralCodeRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralCodeReferralCodeWrite.php b/src/Model/ReferralCodeReferralCodeWrite.php index c0fe390f..32cf0be1 100644 --- a/src/Model/ReferralCodeReferralCodeWrite.php +++ b/src/Model/ReferralCodeReferralCodeWrite.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodeReferralCodeWrite extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodeReferralCodeWrite extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralCodesGetLdjsonResponse200.php b/src/Model/ReferralCodesGetLdjsonResponse200.php index cbbb8d51..992c7d5f 100644 --- a/src/Model/ReferralCodesGetLdjsonResponse200.php +++ b/src/Model/ReferralCodesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodesGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var ReferralCodeJsonldReferralCodeRead[]|null diff --git a/src/Model/ReferralCodesGetLdjsonResponse200HydraSearch.php b/src/Model/ReferralCodesGetLdjsonResponse200HydraSearch.php index 8d54b2af..03c7e288 100644 --- a/src/Model/ReferralCodesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/ReferralCodesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodesGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem.php index f50e7bdf..03246130 100644 --- a/src/Model/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem extends \Arra public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralCodesGetLdjsonResponse200HydraView.php b/src/Model/ReferralCodesGetLdjsonResponse200HydraView.php index bcfd1d4d..706d6e67 100644 --- a/src/Model/ReferralCodesGetLdjsonResponse200HydraView.php +++ b/src/Model/ReferralCodesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralCodesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralCodesGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200.php b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200.php index 419369fd..0ca38c7f 100644 --- a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200.php +++ b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralOnPremiseRequestsGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var OnPremiseRequestJsonldOnPremiseRequestRead[]|null diff --git a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch.php b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch.php index 8734447e..e2c074a9 100644 --- a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php index ecf7ff7c..1b2b3b53 100644 --- a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem e public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraView.php b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraView.php index 4dcc8a4b..0a757870 100644 --- a/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraView.php +++ b/src/Model/ReferralOnPremiseRequestsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralOnPremiseRequestsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200HydraView extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralRequestJsonldReferralRequestRead.php b/src/Model/ReferralRequestJsonldReferralRequestRead.php index f2e0970b..ce00bc2b 100644 --- a/src/Model/ReferralRequestJsonldReferralRequestRead.php +++ b/src/Model/ReferralRequestJsonldReferralRequestRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestJsonldReferralRequestRead extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestJsonldReferralRequestRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -74,17 +68,11 @@ public function isInitialized($property): bool */ protected $status = 'pending'; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ReferralRequestReferralRequestInput.php b/src/Model/ReferralRequestReferralRequestInput.php index d5d7a176..736d44f4 100644 --- a/src/Model/ReferralRequestReferralRequestInput.php +++ b/src/Model/ReferralRequestReferralRequestInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestReferralRequestInput extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestReferralRequestInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralRequestReferralRequestInputJsonld.php b/src/Model/ReferralRequestReferralRequestInputJsonld.php index 19ce1388..a9b01846 100644 --- a/src/Model/ReferralRequestReferralRequestInputJsonld.php +++ b/src/Model/ReferralRequestReferralRequestInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestReferralRequestInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestReferralRequestInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -58,17 +52,11 @@ public function isInitialized($property): bool */ protected $referralCode; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/ReferralRequestReferralRequestRead.php b/src/Model/ReferralRequestReferralRequestRead.php index e651c242..7fb69d7d 100644 --- a/src/Model/ReferralRequestReferralRequestRead.php +++ b/src/Model/ReferralRequestReferralRequestRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestReferralRequestRead extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestReferralRequestRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralRequestsGetLdjsonResponse200.php b/src/Model/ReferralRequestsGetLdjsonResponse200.php index bc671e17..91c21d1c 100644 --- a/src/Model/ReferralRequestsGetLdjsonResponse200.php +++ b/src/Model/ReferralRequestsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestsGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var ReferralRequestJsonldReferralRequestRead[]|null diff --git a/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearch.php b/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearch.php index 98c9faef..9caec249 100644 --- a/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 871cfaaa..bb1003c7 100644 --- a/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ReferralRequestsGetLdjsonResponse200HydraView.php b/src/Model/ReferralRequestsGetLdjsonResponse200HydraView.php index 20c3e36a..4b00ec06 100644 --- a/src/Model/ReferralRequestsGetLdjsonResponse200HydraView.php +++ b/src/Model/ReferralRequestsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ReferralRequestsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class ReferralRequestsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/Region.php b/src/Model/Region.php deleted file mode 100644 index c5de7831..00000000 --- a/src/Model/Region.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $provider; - /** - * @var string|null - */ - protected $datacenterName; - /** - * @var string|null - */ - protected $datacenterAddress; - /** - * @var AbstractCloudEngine|null - */ - protected $cloudEngine; - /** - * @var string[]|null - */ - protected $workspaces; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getProvider(): ?string - { - return $this->provider; - } - - public function setProvider(?string $provider): self - { - $this->initialized['provider'] = true; - $this->provider = $provider; - - return $this; - } - - public function getDatacenterName(): ?string - { - return $this->datacenterName; - } - - public function setDatacenterName(?string $datacenterName): self - { - $this->initialized['datacenterName'] = true; - $this->datacenterName = $datacenterName; - - return $this; - } - - public function getDatacenterAddress(): ?string - { - return $this->datacenterAddress; - } - - public function setDatacenterAddress(?string $datacenterAddress): self - { - $this->initialized['datacenterAddress'] = true; - $this->datacenterAddress = $datacenterAddress; - - return $this; - } - - public function getCloudEngine(): ?AbstractCloudEngine - { - return $this->cloudEngine; - } - - public function setCloudEngine(?AbstractCloudEngine $cloudEngine): self - { - $this->initialized['cloudEngine'] = true; - $this->cloudEngine = $cloudEngine; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspaces(): ?array - { - return $this->workspaces; - } - - /** - * @param string[]|null $workspaces - */ - public function setWorkspaces(?array $workspaces): self - { - $this->initialized['workspaces'] = true; - $this->workspaces = $workspaces; - - return $this; - } -} diff --git a/src/Model/RegionJsonld.php b/src/Model/RegionJsonld.php deleted file mode 100644 index 05c7b69c..00000000 --- a/src/Model/RegionJsonld.php +++ /dev/null @@ -1,189 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $provider; - /** - * @var string|null - */ - protected $datacenterName; - /** - * @var string|null - */ - protected $datacenterAddress; - /** - * @var AbstractCloudEngineJsonld|null - */ - protected $cloudEngine; - /** - * @var string[]|null - */ - protected $workspaces; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getProvider(): ?string - { - return $this->provider; - } - - public function setProvider(?string $provider): self - { - $this->initialized['provider'] = true; - $this->provider = $provider; - - return $this; - } - - public function getDatacenterName(): ?string - { - return $this->datacenterName; - } - - public function setDatacenterName(?string $datacenterName): self - { - $this->initialized['datacenterName'] = true; - $this->datacenterName = $datacenterName; - - return $this; - } - - public function getDatacenterAddress(): ?string - { - return $this->datacenterAddress; - } - - public function setDatacenterAddress(?string $datacenterAddress): self - { - $this->initialized['datacenterAddress'] = true; - $this->datacenterAddress = $datacenterAddress; - - return $this; - } - - public function getCloudEngine(): ?AbstractCloudEngineJsonld - { - return $this->cloudEngine; - } - - public function setCloudEngine(?AbstractCloudEngineJsonld $cloudEngine): self - { - $this->initialized['cloudEngine'] = true; - $this->cloudEngine = $cloudEngine; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspaces(): ?array - { - return $this->workspaces; - } - - /** - * @param string[]|null $workspaces - */ - public function setWorkspaces(?array $workspaces): self - { - $this->initialized['workspaces'] = true; - $this->workspaces = $workspaces; - - return $this; - } -} diff --git a/src/Model/RuntimeActionsGetLdjsonResponse200.php b/src/Model/RuntimeActionsGetLdjsonResponse200.php index 2c410c11..f1bdb603 100644 --- a/src/Model/RuntimeActionsGetLdjsonResponse200.php +++ b/src/Model/RuntimeActionsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeActionsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeActionsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ActionJsonldRead[]|null + * @var ActionJsonldActionRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ActionJsonldRead[]|null + * @return ActionJsonldActionRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ActionJsonldRead[]|null $hydraMember + * @param ActionJsonldActionRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearch.php index fc7705a9..02483ffa 100644 --- a/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeActionsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeActionsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 2813f1f5..92438fa5 100644 --- a/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeActionsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeActionsGetLdjsonResponse200HydraView.php index 34ee7bc2..80a8b01c 100644 --- a/src/Model/RuntimeActionsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeActionsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeActionsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeActionsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeCompilationsGetLdjsonResponse200.php b/src/Model/RuntimeCompilationsGetLdjsonResponse200.php index 433badb1..a6b255ec 100644 --- a/src/Model/RuntimeCompilationsGetLdjsonResponse200.php +++ b/src/Model/RuntimeCompilationsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeCompilationsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeCompilationsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var CompilationJsonld[]|null + * @var CompilationJsonldCompilationRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return CompilationJsonld[]|null + * @return CompilationJsonldCompilationRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param CompilationJsonld[]|null $hydraMember + * @param CompilationJsonldCompilationRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearch.php index e991268e..4e96d6ed 100644 --- a/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeCompilationsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeCompilationsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 187f706a..6288c716 100644 --- a/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraView.php index f79308d5..f555cb5c 100644 --- a/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeCompilationsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeCompilationsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeCompilationsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200.php index fc9bf0df..af424df9 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsGetLdjsonResponse200 extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var ExecutionPipelineJobJsonld[]|null diff --git a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch.php index 26554cb0..355fa328 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch extends \Array public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php index e2b1d1bc..07c5ddb1 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingIte public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView.php index 2d161315..a99a50cd 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView extends \ArrayOb public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200.php index e5d34879..7276ff5a 100644 --- a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200 extends \ArrayObje public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionPipelineStepJsonld[]|null + * @var ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionPipelineStepJsonld[]|null + * @return ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionPipelineStepJsonld[]|null $hydraMember + * @param ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch.php index ef7fc66c..fbcd3c3e 100644 --- a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php index d1371e9a..944f7905 100644 --- a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMap public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView.php index 8a610583..70ea706d 100644 --- a/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView extends \ public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsGetLdjsonResponse200.php index c9558cb3..8f6c8e2d 100644 --- a/src/Model/RuntimeExecutionsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionJsonldRead[]|null + * @var ExecutionJsonldExecutionRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionJsonldRead[]|null + * @return ExecutionJsonldExecutionRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionJsonldRead[]|null $hydraMember + * @param ExecutionJsonldExecutionRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearch.php index 1dc62b45..832a2314 100644 --- a/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 19daf76c..41ca21b5 100644 --- a/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraView.php index 8ff0a2f6..733f8a2c 100644 --- a/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200.php deleted file mode 100644 index b5c2fd3d..00000000 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var ExecutionWorkflowJobJsonld[]|null - */ - protected $hydraMember; - /** - * @var int|null - */ - protected $hydraTotalItems; - /** - * @var RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView|null - */ - protected $hydraView; - /** - * @var RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch|null - */ - protected $hydraSearch; - - /** - * @return ExecutionWorkflowJobJsonld[]|null - */ - public function getHydraMember(): ?array - { - return $this->hydraMember; - } - - /** - * @param ExecutionWorkflowJobJsonld[]|null $hydraMember - */ - public function setHydraMember(?array $hydraMember): self - { - $this->initialized['hydraMember'] = true; - $this->hydraMember = $hydraMember; - - return $this; - } - - public function getHydraTotalItems(): ?int - { - return $this->hydraTotalItems; - } - - public function setHydraTotalItems(?int $hydraTotalItems): self - { - $this->initialized['hydraTotalItems'] = true; - $this->hydraTotalItems = $hydraTotalItems; - - return $this; - } - - public function getHydraView(): ?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView - { - return $this->hydraView; - } - - public function setHydraView(?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView $hydraView): self - { - $this->initialized['hydraView'] = true; - $this->hydraView = $hydraView; - - return $this; - } - - public function getHydraSearch(): ?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch - { - return $this->hydraSearch; - } - - public function setHydraSearch(?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch $hydraSearch): self - { - $this->initialized['hydraSearch'] = true; - $this->hydraSearch = $hydraSearch; - - return $this; - } -} diff --git a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch.php deleted file mode 100644 index 83718e4c..00000000 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraTemplate; - /** - * @var string|null - */ - protected $hydraVariableRepresentation; - /** - * @var RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - protected $hydraMapping; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraTemplate(): ?string - { - return $this->hydraTemplate; - } - - public function setHydraTemplate(?string $hydraTemplate): self - { - $this->initialized['hydraTemplate'] = true; - $this->hydraTemplate = $hydraTemplate; - - return $this; - } - - public function getHydraVariableRepresentation(): ?string - { - return $this->hydraVariableRepresentation; - } - - public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self - { - $this->initialized['hydraVariableRepresentation'] = true; - $this->hydraVariableRepresentation = $hydraVariableRepresentation; - - return $this; - } - - /** - * @return RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - public function getHydraMapping(): ?array - { - return $this->hydraMapping; - } - - /** - * @param RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping - */ - public function setHydraMapping(?array $hydraMapping): self - { - $this->initialized['hydraMapping'] = true; - $this->hydraMapping = $hydraMapping; - - return $this; - } -} diff --git a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php deleted file mode 100644 index 30de5694..00000000 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $variable; - /** - * @var string|null - */ - protected $property; - /** - * @var bool|null - */ - protected $required; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getVariable(): ?string - { - return $this->variable; - } - - public function setVariable(?string $variable): self - { - $this->initialized['variable'] = true; - $this->variable = $variable; - - return $this; - } - - public function getProperty(): ?string - { - return $this->property; - } - - public function setProperty(?string $property): self - { - $this->initialized['property'] = true; - $this->property = $property; - - return $this; - } - - public function getRequired(): ?bool - { - return $this->required; - } - - public function setRequired(?bool $required): self - { - $this->initialized['required'] = true; - $this->required = $required; - - return $this; - } -} diff --git a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView.php deleted file mode 100644 index dbafaab2..00000000 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraFirst; - /** - * @var string|null - */ - protected $hydraLast; - /** - * @var string|null - */ - protected $hydraPrevious; - /** - * @var string|null - */ - protected $hydraNext; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraFirst(): ?string - { - return $this->hydraFirst; - } - - public function setHydraFirst(?string $hydraFirst): self - { - $this->initialized['hydraFirst'] = true; - $this->hydraFirst = $hydraFirst; - - return $this; - } - - public function getHydraLast(): ?string - { - return $this->hydraLast; - } - - public function setHydraLast(?string $hydraLast): self - { - $this->initialized['hydraLast'] = true; - $this->hydraLast = $hydraLast; - - return $this; - } - - public function getHydraPrevious(): ?string - { - return $this->hydraPrevious; - } - - public function setHydraPrevious(?string $hydraPrevious): self - { - $this->initialized['hydraPrevious'] = true; - $this->hydraPrevious = $hydraPrevious; - - return $this; - } - - public function getHydraNext(): ?string - { - return $this->hydraNext; - } - - public function setHydraNext(?string $hydraNext): self - { - $this->initialized['hydraNext'] = true; - $this->hydraNext = $hydraNext; - - return $this; - } -} diff --git a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200.php index 60140688..b871a4e1 100644 --- a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionPipelineJsonld[]|null + * @var ExecutionPipelineJsonldExecutionPipelineRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionPipelineJsonld[]|null + * @return ExecutionPipelineJsonldExecutionPipelineRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionPipelineJsonld[]|null $hydraMember + * @param ExecutionPipelineJsonldExecutionPipelineRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch.php index b87ddd16..2dc5f70a 100644 --- a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch extends \ArrayOb public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php index 1bfbc373..9f8dc65e 100644 --- a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView.php index 0cb9cb1b..3b70bea2 100644 --- a/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView extends \ArrayObje public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200.php index 2b5bab39..2c9f713a 100644 --- a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionPipelineStepJsonld[]|null + * @var ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionPipelineStepJsonld[]|null + * @return ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionPipelineStepJsonld[]|null $hydraMember + * @param ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch.php index 0d2542a8..10b53b8e 100644 --- a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch extends \ public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php index bb08a8ac..c3a3f222 100644 --- a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappi public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView.php index e9f690da..06ad090a 100644 --- a/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView extends \Ar public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200.php index 48a5733a..ad3ec29d 100644 --- a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionWorkflowJsonld[]|null + * @var ExecutionWorkflowJsonldExecutionWorkflowRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionWorkflowJsonld[]|null + * @return ExecutionWorkflowJsonldExecutionWorkflowRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionWorkflowJsonld[]|null $hydraMember + * @param ExecutionWorkflowJsonldExecutionWorkflowRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch.php index a4830707..bd74f5ec 100644 --- a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch extends \ArrayOb public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php index f9d1701d..5c5b11ac 100644 --- a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView.php index a0fac413..33e53e51 100644 --- a/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView extends \ArrayObje public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200.php index e987e906..47b5d478 100644 --- a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionWorkflowJobJsonld[]|null + * @var ExecutionWorkflowJobJsonldExecutionWorkflowJobRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionWorkflowJobJsonld[]|null + * @return ExecutionWorkflowJobJsonldExecutionWorkflowJobRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionWorkflowJobJsonld[]|null $hydraMember + * @param ExecutionWorkflowJobJsonldExecutionWorkflowJobRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php index 4d66f90d..ce7ce2b2 100644 --- a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 465aaee9..bfe5f6a4 100644 --- a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappin public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView.php index d095aecc..6bd4e9cc 100644 --- a/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200.php index e2c3ed05..f2976600 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionWorkflowJobJsonld[]|null + * @var ExecutionWorkflowJobJsonldExecutionWorkflowJobRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionWorkflowJobJsonld[]|null + * @return ExecutionWorkflowJobJsonldExecutionWorkflowJobRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionWorkflowJobJsonld[]|null $hydraMember + * @param ExecutionWorkflowJobJsonldExecutionWorkflowJobRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch.php index e08777ab..8ebfce51 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 9aafc3de..0cf289b7 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingI public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView.php index 8ffa2e57..a2e90c02 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView extends \Array public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200.php b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200.php index b27b9603..3574cbc2 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200 extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionPipelineStepJsonld[]|null + * @var ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionPipelineStepJsonld[]|null + * @return ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionPipelineStepJsonld[]|null $hydraMember + * @param ExecutionPipelineStepJsonldExecutionPipelineStepRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch.php index ab466e8b..58a13a4e 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSea public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 39bf2eee..ac61d4d2 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSea public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView.php index 6a1ef734..d5787e2c 100644 --- a/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraVie public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200.php b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200.php index fdf3b79f..fab9e66d 100644 --- a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200.php +++ b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepProbesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimePipelineStepProbesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var PipelineStepProbeJsonld[]|null + * @var PipelineStepProbeJsonldStepProbeRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return PipelineStepProbeJsonld[]|null + * @return PipelineStepProbeJsonldStepProbeRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param PipelineStepProbeJsonld[]|null $hydraMember + * @param PipelineStepProbeJsonldStepProbeRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch.php index 2e8f9e3b..d7f9e77c 100644 --- a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php index 51897ee8..d3e598ff 100644 --- a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem e public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraView.php b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraView.php index bdca9226..45949793 100644 --- a/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepProbesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepProbesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelineStepProbesGetLdjsonResponse200HydraView extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelineStepsGetLdjsonResponse200.php b/src/Model/RuntimePipelineStepsGetLdjsonResponse200.php index e116a5d6..06e434c7 100644 --- a/src/Model/RuntimePipelineStepsGetLdjsonResponse200.php +++ b/src/Model/RuntimePipelineStepsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimePipelineStepsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var PipelineStepJsonld[]|null + * @var PipelineStepJsonldStepRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return PipelineStepJsonld[]|null + * @return PipelineStepJsonldStepRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param PipelineStepJsonld[]|null $hydraMember + * @param PipelineStepJsonldStepRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearch.php index 7017f436..0d736356 100644 --- a/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelineStepsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 04a84706..60675cce 100644 --- a/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem extend public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraView.php b/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraView.php index 6d235bdd..5795d627 100644 --- a/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelineStepsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelineStepsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesGetLdjsonResponse200.php b/src/Model/RuntimePipelinesGetLdjsonResponse200.php index c9aef9ad..f4774ef1 100644 --- a/src/Model/RuntimePipelinesGetLdjsonResponse200.php +++ b/src/Model/RuntimePipelinesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimePipelinesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var PipelineJsonldRead[]|null + * @var PipelineJsonldPipelineReadPipelineSubresourceRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return PipelineJsonldRead[]|null + * @return PipelineJsonldPipelineReadPipelineSubresourceRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param PipelineJsonldRead[]|null $hydraMember + * @param PipelineJsonldPipelineReadPipelineSubresourceRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearch.php index 8cc82b9c..5a02d8ae 100644 --- a/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php index a999d01f..d8fbd112 100644 --- a/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesGetLdjsonResponse200HydraView.php b/src/Model/RuntimePipelinesGetLdjsonResponse200HydraView.php index 394ae79c..90be21f4 100644 --- a/src/Model/RuntimePipelinesGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimePipelinesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200.php b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200.php index 7cbfb28c..f134e150 100644 --- a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200.php +++ b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdCompilationsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var CompilationJsonld[]|null + * @var CompilationJsonldCompilationRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return CompilationJsonld[]|null + * @return CompilationJsonldCompilationRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param CompilationJsonld[]|null $hydraMember + * @param CompilationJsonldCompilationRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch.php index 193cd708..bf31f1fd 100644 --- a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index ec66ade1..af912a47 100644 --- a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingI public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView.php b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView.php index 7327acbf..3f81d0b5 100644 --- a/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView extends \Array public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200.php b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200.php index b8cc7667..741d4608 100644 --- a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200.php +++ b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdSchedulesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ScheduleJsonld[]|null + * @var ScheduleJsonldScheduleRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ScheduleJsonld[]|null + * @return ScheduleJsonldScheduleRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ScheduleJsonld[]|null $hydraMember + * @param ScheduleJsonldScheduleRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch.php index a1c4bbb0..fb48c7a0 100644 --- a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php index c1694ae3..abee9c48 100644 --- a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView.php b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView.php index c69b9f85..6df73bdf 100644 --- a/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200.php b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200.php index 2f804a50..10f4eaf9 100644 --- a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200.php +++ b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdStepsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var PipelineStepJsonld[]|null + * @var PipelineStepJsonldStepRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return PipelineStepJsonld[]|null + * @return PipelineStepJsonldStepRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param PipelineStepJsonld[]|null $hydraMember + * @param PipelineStepJsonldStepRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch.php index d9300a14..cc852295 100644 --- a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 5c25512d..71de0d6d 100644 --- a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem ext public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraView.php b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraView.php index 1fb2d0e6..72b22a95 100644 --- a/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimePipelinesIdStepsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesIdStepsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200.php b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200.php index 01b924da..b0d4eb5e 100644 --- a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200.php +++ b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesStepsIdProbesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var PipelineStepProbeJsonld[]|null + * @var PipelineStepProbeJsonldStepProbeRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return PipelineStepProbeJsonld[]|null + * @return PipelineStepProbeJsonldStepProbeRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param PipelineStepProbeJsonld[]|null $hydraMember + * @param PipelineStepProbeJsonldStepProbeRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch.php index c19a893a..04da63cb 100644 --- a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch extends \Arra public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php index e75b85d7..beb4efea 100644 --- a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingIt public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView.php b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView.php index ab431819..e3879f8b 100644 --- a/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeSchedulesGetLdjsonResponse200.php b/src/Model/RuntimeSchedulesGetLdjsonResponse200.php index eb09aa8d..4382d39c 100644 --- a/src/Model/RuntimeSchedulesGetLdjsonResponse200.php +++ b/src/Model/RuntimeSchedulesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeSchedulesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ScheduleJsonld[]|null + * @var ScheduleJsonldScheduleRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ScheduleJsonld[]|null + * @return ScheduleJsonldScheduleRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ScheduleJsonld[]|null $hydraMember + * @param ScheduleJsonldScheduleRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearch.php index f7d9e0db..4fe1e90f 100644 --- a/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeSchedulesGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php index a4271ef4..064a98e1 100644 --- a/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraView.php b/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraView.php index efda0267..7e48b14a 100644 --- a/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeSchedulesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeSchedulesGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200.php b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200.php index cd11826f..e589f35a 100644 --- a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200.php +++ b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesIdExecutionsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ExecutionJsonldRead[]|null + * @var ExecutionJsonldExecutionRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return ExecutionJsonldRead[]|null + * @return ExecutionJsonldExecutionRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionJsonldRead[]|null $hydraMember + * @param ExecutionJsonldExecutionRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch.php index e2b939fa..e6b1a4c0 100644 --- a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch extends \Array public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php index e210d61e..a22ce32b 100644 --- a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingIte public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView.php index 32e95ff0..051ea6e4 100644 --- a/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView extends \ArrayOb public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeTemplatesGetLdjsonResponse200.php b/src/Model/RuntimeTemplatesGetLdjsonResponse200.php new file mode 100644 index 00000000..4758c693 --- /dev/null +++ b/src/Model/RuntimeTemplatesGetLdjsonResponse200.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var TemplateJsonldTemplateList[]|null + */ + protected $hydraMember; + /** + * @var int|null + */ + protected $hydraTotalItems; + /** + * @var RuntimeTemplatesGetLdjsonResponse200HydraView|null + */ + protected $hydraView; + /** + * @var RuntimeTemplatesGetLdjsonResponse200HydraSearch|null + */ + protected $hydraSearch; + + /** + * @return TemplateJsonldTemplateList[]|null + */ + public function getHydraMember(): ?array + { + return $this->hydraMember; + } + + /** + * @param TemplateJsonldTemplateList[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->initialized['hydraMember'] = true; + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->initialized['hydraTotalItems'] = true; + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?RuntimeTemplatesGetLdjsonResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?RuntimeTemplatesGetLdjsonResponse200HydraView $hydraView): self + { + $this->initialized['hydraView'] = true; + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?RuntimeTemplatesGetLdjsonResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?RuntimeTemplatesGetLdjsonResponse200HydraSearch $hydraSearch): self + { + $this->initialized['hydraSearch'] = true; + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearch.php new file mode 100644 index 00000000..9044531c --- /dev/null +++ b/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearch.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraTemplate; + /** + * @var string|null + */ + protected $hydraVariableRepresentation; + /** + * @var RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + protected $hydraMapping; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->initialized['hydraTemplate'] = true; + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->initialized['hydraVariableRepresentation'] = true; + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->initialized['hydraMapping'] = true; + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..bd90a281 --- /dev/null +++ b/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $variable; + /** + * @var string|null + */ + protected $property; + /** + * @var bool|null + */ + protected $required; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->initialized['variable'] = true; + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->initialized['property'] = true; + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->initialized['required'] = true; + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraView.php b/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraView.php new file mode 100644 index 00000000..73946682 --- /dev/null +++ b/src/Model/RuntimeTemplatesGetLdjsonResponse200HydraView.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraFirst; + /** + * @var string|null + */ + protected $hydraLast; + /** + * @var string|null + */ + protected $hydraPrevious; + /** + * @var string|null + */ + protected $hydraNext; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->initialized['hydraFirst'] = true; + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->initialized['hydraLast'] = true; + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->initialized['hydraPrevious'] = true; + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->initialized['hydraNext'] = true; + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200.php new file mode 100644 index 00000000..c9dc4a13 --- /dev/null +++ b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var WorkflowJobActionJsonldActionRead[]|null + */ + protected $hydraMember; + /** + * @var int|null + */ + protected $hydraTotalItems; + /** + * @var RuntimeWorkflowsActionsGetLdjsonResponse200HydraView|null + */ + protected $hydraView; + /** + * @var RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch|null + */ + protected $hydraSearch; + + /** + * @return WorkflowJobActionJsonldActionRead[]|null + */ + public function getHydraMember(): ?array + { + return $this->hydraMember; + } + + /** + * @param WorkflowJobActionJsonldActionRead[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->initialized['hydraMember'] = true; + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->initialized['hydraTotalItems'] = true; + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?RuntimeWorkflowsActionsGetLdjsonResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?RuntimeWorkflowsActionsGetLdjsonResponse200HydraView $hydraView): self + { + $this->initialized['hydraView'] = true; + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch $hydraSearch): self + { + $this->initialized['hydraSearch'] = true; + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch.php new file mode 100644 index 00000000..769ae350 --- /dev/null +++ b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraTemplate; + /** + * @var string|null + */ + protected $hydraVariableRepresentation; + /** + * @var RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + protected $hydraMapping; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->initialized['hydraTemplate'] = true; + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->initialized['hydraVariableRepresentation'] = true; + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->initialized['hydraMapping'] = true; + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..4a20b811 --- /dev/null +++ b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $variable; + /** + * @var string|null + */ + protected $property; + /** + * @var bool|null + */ + protected $required; + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->initialized['variable'] = true; + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->initialized['property'] = true; + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->initialized['required'] = true; + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraView.php new file mode 100644 index 00000000..2bb137db --- /dev/null +++ b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraView.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $hydraFirst; + /** + * @var string|null + */ + protected $hydraLast; + /** + * @var string|null + */ + protected $hydraPrevious; + /** + * @var string|null + */ + protected $hydraNext; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->initialized['hydraFirst'] = true; + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->initialized['hydraLast'] = true; + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->initialized['hydraPrevious'] = true; + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->initialized['hydraNext'] = true; + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/RuntimeWorkflowsGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsGetLdjsonResponse200.php index d96d83d9..5ead5c84 100644 --- a/src/Model/RuntimeWorkflowsGetLdjsonResponse200.php +++ b/src/Model/RuntimeWorkflowsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeWorkflowsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var WorkflowJsonldRead[]|null + * @var WorkflowJsonldWorkflowRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return WorkflowJsonldRead[]|null + * @return WorkflowJsonldWorkflowRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param WorkflowJsonldRead[]|null $hydraMember + * @param WorkflowJsonldWorkflowRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearch.php index 92131b3b..730af85c 100644 --- a/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php index ae50de23..a2784228 100644 --- a/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraView.php index 55e00ffa..ba1e40ea 100644 --- a/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200.php deleted file mode 100644 index 42397fe4..00000000 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var CompilationJsonld[]|null - */ - protected $hydraMember; - /** - * @var int|null - */ - protected $hydraTotalItems; - /** - * @var RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView|null - */ - protected $hydraView; - /** - * @var RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch|null - */ - protected $hydraSearch; - - /** - * @return CompilationJsonld[]|null - */ - public function getHydraMember(): ?array - { - return $this->hydraMember; - } - - /** - * @param CompilationJsonld[]|null $hydraMember - */ - public function setHydraMember(?array $hydraMember): self - { - $this->initialized['hydraMember'] = true; - $this->hydraMember = $hydraMember; - - return $this; - } - - public function getHydraTotalItems(): ?int - { - return $this->hydraTotalItems; - } - - public function setHydraTotalItems(?int $hydraTotalItems): self - { - $this->initialized['hydraTotalItems'] = true; - $this->hydraTotalItems = $hydraTotalItems; - - return $this; - } - - public function getHydraView(): ?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView - { - return $this->hydraView; - } - - public function setHydraView(?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView $hydraView): self - { - $this->initialized['hydraView'] = true; - $this->hydraView = $hydraView; - - return $this; - } - - public function getHydraSearch(): ?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch - { - return $this->hydraSearch; - } - - public function setHydraSearch(?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch $hydraSearch): self - { - $this->initialized['hydraSearch'] = true; - $this->hydraSearch = $hydraSearch; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch.php deleted file mode 100644 index ef8bc4b0..00000000 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraTemplate; - /** - * @var string|null - */ - protected $hydraVariableRepresentation; - /** - * @var RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - protected $hydraMapping; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraTemplate(): ?string - { - return $this->hydraTemplate; - } - - public function setHydraTemplate(?string $hydraTemplate): self - { - $this->initialized['hydraTemplate'] = true; - $this->hydraTemplate = $hydraTemplate; - - return $this; - } - - public function getHydraVariableRepresentation(): ?string - { - return $this->hydraVariableRepresentation; - } - - public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self - { - $this->initialized['hydraVariableRepresentation'] = true; - $this->hydraVariableRepresentation = $hydraVariableRepresentation; - - return $this; - } - - /** - * @return RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - public function getHydraMapping(): ?array - { - return $this->hydraMapping; - } - - /** - * @param RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping - */ - public function setHydraMapping(?array $hydraMapping): self - { - $this->initialized['hydraMapping'] = true; - $this->hydraMapping = $hydraMapping; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php deleted file mode 100644 index c555b690..00000000 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $variable; - /** - * @var string|null - */ - protected $property; - /** - * @var bool|null - */ - protected $required; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getVariable(): ?string - { - return $this->variable; - } - - public function setVariable(?string $variable): self - { - $this->initialized['variable'] = true; - $this->variable = $variable; - - return $this; - } - - public function getProperty(): ?string - { - return $this->property; - } - - public function setProperty(?string $property): self - { - $this->initialized['property'] = true; - $this->property = $property; - - return $this; - } - - public function getRequired(): ?bool - { - return $this->required; - } - - public function setRequired(?bool $required): self - { - $this->initialized['required'] = true; - $this->required = $required; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView.php deleted file mode 100644 index 9326b847..00000000 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraFirst; - /** - * @var string|null - */ - protected $hydraLast; - /** - * @var string|null - */ - protected $hydraPrevious; - /** - * @var string|null - */ - protected $hydraNext; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraFirst(): ?string - { - return $this->hydraFirst; - } - - public function setHydraFirst(?string $hydraFirst): self - { - $this->initialized['hydraFirst'] = true; - $this->hydraFirst = $hydraFirst; - - return $this; - } - - public function getHydraLast(): ?string - { - return $this->hydraLast; - } - - public function setHydraLast(?string $hydraLast): self - { - $this->initialized['hydraLast'] = true; - $this->hydraLast = $hydraLast; - - return $this; - } - - public function getHydraPrevious(): ?string - { - return $this->hydraPrevious; - } - - public function setHydraPrevious(?string $hydraPrevious): self - { - $this->initialized['hydraPrevious'] = true; - $this->hydraPrevious = $hydraPrevious; - - return $this; - } - - public function getHydraNext(): ?string - { - return $this->hydraNext; - } - - public function setHydraNext(?string $hydraNext): self - { - $this->initialized['hydraNext'] = true; - $this->hydraNext = $hydraNext; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200.php index c2f4b772..2a693aa1 100644 --- a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200.php +++ b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsIdJobsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var WorkflowJobJsonldRead[]|null + * @var WorkflowJobJsonldJobRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return WorkflowJobJsonldRead[]|null + * @return WorkflowJobJsonldJobRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param WorkflowJobJsonldRead[]|null $hydraMember + * @param WorkflowJobJsonldJobRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php index e8742199..287e55bb 100644 --- a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php index 39411948..260ac063 100644 --- a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem exte public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView.php index 03eda450..2d06ebd3 100644 --- a/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200.php deleted file mode 100644 index a8f6c32a..00000000 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var ScheduleJsonld[]|null - */ - protected $hydraMember; - /** - * @var int|null - */ - protected $hydraTotalItems; - /** - * @var RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView|null - */ - protected $hydraView; - /** - * @var RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch|null - */ - protected $hydraSearch; - - /** - * @return ScheduleJsonld[]|null - */ - public function getHydraMember(): ?array - { - return $this->hydraMember; - } - - /** - * @param ScheduleJsonld[]|null $hydraMember - */ - public function setHydraMember(?array $hydraMember): self - { - $this->initialized['hydraMember'] = true; - $this->hydraMember = $hydraMember; - - return $this; - } - - public function getHydraTotalItems(): ?int - { - return $this->hydraTotalItems; - } - - public function setHydraTotalItems(?int $hydraTotalItems): self - { - $this->initialized['hydraTotalItems'] = true; - $this->hydraTotalItems = $hydraTotalItems; - - return $this; - } - - public function getHydraView(): ?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView - { - return $this->hydraView; - } - - public function setHydraView(?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView $hydraView): self - { - $this->initialized['hydraView'] = true; - $this->hydraView = $hydraView; - - return $this; - } - - public function getHydraSearch(): ?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch - { - return $this->hydraSearch; - } - - public function setHydraSearch(?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch $hydraSearch): self - { - $this->initialized['hydraSearch'] = true; - $this->hydraSearch = $hydraSearch; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch.php deleted file mode 100644 index 471ed91b..00000000 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraTemplate; - /** - * @var string|null - */ - protected $hydraVariableRepresentation; - /** - * @var RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - protected $hydraMapping; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraTemplate(): ?string - { - return $this->hydraTemplate; - } - - public function setHydraTemplate(?string $hydraTemplate): self - { - $this->initialized['hydraTemplate'] = true; - $this->hydraTemplate = $hydraTemplate; - - return $this; - } - - public function getHydraVariableRepresentation(): ?string - { - return $this->hydraVariableRepresentation; - } - - public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self - { - $this->initialized['hydraVariableRepresentation'] = true; - $this->hydraVariableRepresentation = $hydraVariableRepresentation; - - return $this; - } - - /** - * @return RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null - */ - public function getHydraMapping(): ?array - { - return $this->hydraMapping; - } - - /** - * @param RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping - */ - public function setHydraMapping(?array $hydraMapping): self - { - $this->initialized['hydraMapping'] = true; - $this->hydraMapping = $hydraMapping; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php deleted file mode 100644 index a4a3fe9f..00000000 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $variable; - /** - * @var string|null - */ - protected $property; - /** - * @var bool|null - */ - protected $required; - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getVariable(): ?string - { - return $this->variable; - } - - public function setVariable(?string $variable): self - { - $this->initialized['variable'] = true; - $this->variable = $variable; - - return $this; - } - - public function getProperty(): ?string - { - return $this->property; - } - - public function setProperty(?string $property): self - { - $this->initialized['property'] = true; - $this->property = $property; - - return $this; - } - - public function getRequired(): ?bool - { - return $this->required; - } - - public function setRequired(?bool $required): self - { - $this->initialized['required'] = true; - $this->required = $required; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView.php b/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView.php deleted file mode 100644 index 419c6c03..00000000 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $hydraFirst; - /** - * @var string|null - */ - protected $hydraLast; - /** - * @var string|null - */ - protected $hydraPrevious; - /** - * @var string|null - */ - protected $hydraNext; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getHydraFirst(): ?string - { - return $this->hydraFirst; - } - - public function setHydraFirst(?string $hydraFirst): self - { - $this->initialized['hydraFirst'] = true; - $this->hydraFirst = $hydraFirst; - - return $this; - } - - public function getHydraLast(): ?string - { - return $this->hydraLast; - } - - public function setHydraLast(?string $hydraLast): self - { - $this->initialized['hydraLast'] = true; - $this->hydraLast = $hydraLast; - - return $this; - } - - public function getHydraPrevious(): ?string - { - return $this->hydraPrevious; - } - - public function setHydraPrevious(?string $hydraPrevious): self - { - $this->initialized['hydraPrevious'] = true; - $this->hydraPrevious = $hydraPrevious; - - return $this; - } - - public function getHydraNext(): ?string - { - return $this->hydraNext; - } - - public function setHydraNext(?string $hydraNext): self - { - $this->initialized['hydraNext'] = true; - $this->hydraNext = $hydraNext; - - return $this; - } -} diff --git a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200.php index 84c6e739..5117e930 100644 --- a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200.php +++ b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsPipelinesGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200 extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var WorkflowJobPipelineJsonld[]|null + * @var WorkflowJobPipelineJsonldPipelineRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return WorkflowJobPipelineJsonld[]|null + * @return WorkflowJobPipelineJsonldPipelineRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param WorkflowJobPipelineJsonld[]|null $hydraMember + * @param WorkflowJobPipelineJsonldPipelineRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch.php index d60ddeb0..6530686a 100644 --- a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php index 0dcf23d9..f6aaf9e5 100644 --- a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem e public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView.php b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView.php index 07d11124..c8de41af 100644 --- a/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200.php index 510e9cb7..fdaa82f7 100644 --- a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200.php +++ b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200 extends \ArrayObject @@ -19,10 +13,10 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200 extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var PipelineStepJsonld[]|null + * @var PipelineStepJsonldStepRead[]|null */ protected $hydraMember; /** @@ -39,7 +33,7 @@ public function isInitialized($property): bool protected $hydraSearch; /** - * @return PipelineStepJsonld[]|null + * @return PipelineStepJsonldStepRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param PipelineStepJsonld[]|null $hydraMember + * @param PipelineStepJsonldStepRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch.php index cb42bd51..1dcdd40e 100644 --- a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php index b9679842..640e55cb 100644 --- a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView.php b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView.php index 084a3405..bb182d8b 100644 --- a/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView extends \ArrayObject @@ -19,7 +13,7 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView e public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/ScheduleJsonld.php b/src/Model/ScheduleJsonld.php index 48f1b4ec..d3d3cd8f 100644 --- a/src/Model/ScheduleJsonld.php +++ b/src/Model/ScheduleJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class ScheduleJsonld extends \ArrayObject @@ -19,8 +13,12 @@ class ScheduleJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -29,10 +27,19 @@ public function isInitialized($property): bool * @var string|null */ protected $type; - /** - * @var mixed|null - */ - protected $context; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } public function getId(): ?string { @@ -59,23 +66,4 @@ 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->initialized['context'] = true; - $this->context = $context; - - return $this; - } } diff --git a/src/Model/ScheduleJsonldScheduleRead.php b/src/Model/ScheduleJsonldScheduleRead.php new file mode 100644 index 00000000..725a7d5f --- /dev/null +++ b/src/Model/ScheduleJsonldScheduleRead.php @@ -0,0 +1,279 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var ScheduleTypeJsonldScheduleRead|null + */ + protected $type2; + /** + * @var \DateTime|null + */ + protected $startAt; + /** + * @var string|null + */ + protected $interval; + /** + * @var \DateTime|null + */ + protected $endAt; + /** + * @var string|null + */ + protected $crontab; + /** + * @var int|null + */ + protected $recurrences; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var string[]|null + */ + protected $executions; + /** + * @var string|null + */ + protected $pipeline; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $environment; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getType2(): ?ScheduleTypeJsonldScheduleRead + { + return $this->type2; + } + + public function setType2(?ScheduleTypeJsonldScheduleRead $type2): self + { + $this->initialized['type2'] = true; + $this->type2 = $type2; + + return $this; + } + + public function getStartAt(): ?\DateTime + { + return $this->startAt; + } + + public function setStartAt(?\DateTime $startAt): self + { + $this->initialized['startAt'] = true; + $this->startAt = $startAt; + + return $this; + } + + public function getInterval(): ?string + { + return $this->interval; + } + + public function setInterval(?string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getEndAt(): ?\DateTime + { + return $this->endAt; + } + + public function setEndAt(?\DateTime $endAt): self + { + $this->initialized['endAt'] = true; + $this->endAt = $endAt; + + return $this; + } + + public function getCrontab(): ?string + { + return $this->crontab; + } + + public function setCrontab(?string $crontab): self + { + $this->initialized['crontab'] = true; + $this->crontab = $crontab; + + return $this; + } + + public function getRecurrences(): ?int + { + return $this->recurrences; + } + + public function setRecurrences(?int $recurrences): self + { + $this->initialized['recurrences'] = true; + $this->recurrences = $recurrences; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + /** + * @return string[]|null + */ + public function getExecutions(): ?array + { + return $this->executions; + } + + /** + * @param string[]|null $executions + */ + public function setExecutions(?array $executions): self + { + $this->initialized['executions'] = true; + $this->executions = $executions; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } +} diff --git a/src/Model/ScheduleScheduleRead.php b/src/Model/ScheduleScheduleRead.php new file mode 100644 index 00000000..4520f744 --- /dev/null +++ b/src/Model/ScheduleScheduleRead.php @@ -0,0 +1,234 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var mixed[]|null + */ + protected $type; + /** + * @var \DateTime|null + */ + protected $startAt; + /** + * @var string|null + */ + protected $interval; + /** + * @var \DateTime|null + */ + protected $endAt; + /** + * @var string|null + */ + protected $crontab; + /** + * @var int|null + */ + protected $recurrences; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var string[]|null + */ + protected $executions; + /** + * @var string|null + */ + protected $pipeline; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $environment; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + /** + * @return mixed[]|null + */ + public function getType(): ?iterable + { + return $this->type; + } + + /** + * @param mixed[]|null $type + */ + public function setType(?iterable $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getStartAt(): ?\DateTime + { + return $this->startAt; + } + + public function setStartAt(?\DateTime $startAt): self + { + $this->initialized['startAt'] = true; + $this->startAt = $startAt; + + return $this; + } + + public function getInterval(): ?string + { + return $this->interval; + } + + public function setInterval(?string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getEndAt(): ?\DateTime + { + return $this->endAt; + } + + public function setEndAt(?\DateTime $endAt): self + { + $this->initialized['endAt'] = true; + $this->endAt = $endAt; + + return $this; + } + + public function getCrontab(): ?string + { + return $this->crontab; + } + + public function setCrontab(?string $crontab): self + { + $this->initialized['crontab'] = true; + $this->crontab = $crontab; + + return $this; + } + + public function getRecurrences(): ?int + { + return $this->recurrences; + } + + public function setRecurrences(?int $recurrences): self + { + $this->initialized['recurrences'] = true; + $this->recurrences = $recurrences; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + /** + * @return string[]|null + */ + public function getExecutions(): ?array + { + return $this->executions; + } + + /** + * @param string[]|null $executions + */ + public function setExecutions(?array $executions): self + { + $this->initialized['executions'] = true; + $this->executions = $executions; + + return $this; + } + + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } +} diff --git a/src/Model/ScheduleTypeJsonldScheduleRead.php b/src/Model/ScheduleTypeJsonldScheduleRead.php new file mode 100644 index 00000000..6190723f --- /dev/null +++ b/src/Model/ScheduleTypeJsonldScheduleRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/Secret.php b/src/Model/Secret.php deleted file mode 100644 index 8a41ba4e..00000000 --- a/src/Model/Secret.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretChangeSecretValueInput.php b/src/Model/SecretChangeSecretValueInput.php deleted file mode 100644 index cf958410..00000000 --- a/src/Model/SecretChangeSecretValueInput.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var mixed[][]|null - */ - protected $contents; - - /** - * @return mixed[][]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param mixed[][]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretChangeSecretValueInputJsonld.php b/src/Model/SecretChangeSecretValueInputJsonld.php deleted file mode 100644 index 49201b51..00000000 --- a/src/Model/SecretChangeSecretValueInputJsonld.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var OpaqueInterfaceJsonld[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return OpaqueInterfaceJsonld[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param OpaqueInterfaceJsonld[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretChangeSecretValueInputJsonldSecretUpdate.php b/src/Model/SecretChangeSecretValueInputJsonldSecretUpdate.php new file mode 100644 index 00000000..90cabc69 --- /dev/null +++ b/src/Model/SecretChangeSecretValueInputJsonldSecretUpdate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var OpaqueInterfaceJsonldSecretUpdate[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return OpaqueInterfaceJsonldSecretUpdate[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param OpaqueInterfaceJsonldSecretUpdate[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretChangeSecretValueInputSecretUpdate.php b/src/Model/SecretChangeSecretValueInputSecretUpdate.php new file mode 100644 index 00000000..7257f1e5 --- /dev/null +++ b/src/Model/SecretChangeSecretValueInputSecretUpdate.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var mixed[][]|null + */ + protected $contents; + + /** + * @return mixed[][]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param mixed[][]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretCreateSecretInput.php b/src/Model/SecretCreateSecretInput.php deleted file mode 100644 index 27b4bc41..00000000 --- a/src/Model/SecretCreateSecretInput.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string[]|null - */ - protected $contents; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $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->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretCreateSecretInputJsonld.php b/src/Model/SecretCreateSecretInputJsonld.php deleted file mode 100644 index 73384d75..00000000 --- a/src/Model/SecretCreateSecretInputJsonld.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $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->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretCreateSecretInputJsonldSecretCreate.php b/src/Model/SecretCreateSecretInputJsonldSecretCreate.php new file mode 100644 index 00000000..6d53e9bb --- /dev/null +++ b/src/Model/SecretCreateSecretInputJsonldSecretCreate.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretCreateSecretInputSecretCreate.php b/src/Model/SecretCreateSecretInputSecretCreate.php new file mode 100644 index 00000000..7e876e35 --- /dev/null +++ b/src/Model/SecretCreateSecretInputSecretCreate.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $contents; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $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->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretEdit.php b/src/Model/SecretEdit.php deleted file mode 100644 index 1c7f98b6..00000000 --- a/src/Model/SecretEdit.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/src/Model/SecretJsonld.php b/src/Model/SecretJsonld.php deleted file mode 100644 index 2b6b08c8..00000000 --- a/src/Model/SecretJsonld.php +++ /dev/null @@ -1,206 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretJsonldEdit.php b/src/Model/SecretJsonldEdit.php deleted file mode 100644 index d42bb0ed..00000000 --- a/src/Model/SecretJsonldEdit.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/src/Model/SecretJsonldRead.php b/src/Model/SecretJsonldRead.php deleted file mode 100644 index f92b3bf0..00000000 --- a/src/Model/SecretJsonldRead.php +++ /dev/null @@ -1,189 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretJsonldSecretRead.php b/src/Model/SecretJsonldSecretRead.php new file mode 100644 index 00000000..9dc014d2 --- /dev/null +++ b/src/Model/SecretJsonldSecretRead.php @@ -0,0 +1,194 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretJsonldSecretUpdate.php b/src/Model/SecretJsonldSecretUpdate.php new file mode 100644 index 00000000..4de75fd9 --- /dev/null +++ b/src/Model/SecretJsonldSecretUpdate.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/SecretRead.php b/src/Model/SecretRead.php deleted file mode 100644 index 45801eef..00000000 --- a/src/Model/SecretRead.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string[]|null - */ - protected $contents; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?iterable - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?iterable $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretRemoveSecretValueInput.php b/src/Model/SecretRemoveSecretValueInput.php deleted file mode 100644 index 6df8fffb..00000000 --- a/src/Model/SecretRemoveSecretValueInput.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return string[]|null - */ - public function getContents(): ?array - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?array $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretRemoveSecretValueInputJsonld.php b/src/Model/SecretRemoveSecretValueInputJsonld.php deleted file mode 100644 index 355694b0..00000000 --- a/src/Model/SecretRemoveSecretValueInputJsonld.php +++ /dev/null @@ -1,104 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string[]|null - */ - protected $contents; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return string[]|null - */ - public function getContents(): ?array - { - return $this->contents; - } - - /** - * @param string[]|null $contents - */ - public function setContents(?array $contents): self - { - $this->initialized['contents'] = true; - $this->contents = $contents; - - return $this; - } -} diff --git a/src/Model/SecretRemoveSecretValueInputJsonldSecretUpdate.php b/src/Model/SecretRemoveSecretValueInputJsonldSecretUpdate.php new file mode 100644 index 00000000..1d78549a --- /dev/null +++ b/src/Model/SecretRemoveSecretValueInputJsonldSecretUpdate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string[]|null + */ + protected $contents; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretRemoveSecretValueInputSecretUpdate.php b/src/Model/SecretRemoveSecretValueInputSecretUpdate.php new file mode 100644 index 00000000..320259da --- /dev/null +++ b/src/Model/SecretRemoveSecretValueInputSecretUpdate.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string[]|null + */ + protected $contents; + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretSecretRead.php b/src/Model/SecretSecretRead.php new file mode 100644 index 00000000..2da4aa4c --- /dev/null +++ b/src/Model/SecretSecretRead.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string[]|null + */ + protected $contents; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->initialized['contents'] = true; + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/Step.php b/src/Model/Step.php index b46255d4..839c2b9f 100644 --- a/src/Model/Step.php +++ b/src/Model/Step.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Step extends \ArrayObject @@ -19,7 +13,7 @@ class Step extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string[]|null diff --git a/src/Model/StepJsonld.php b/src/Model/StepJsonld.php index 40c5538d..729686f9 100644 --- a/src/Model/StepJsonld.php +++ b/src/Model/StepJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class StepJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class StepJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $probes; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index e0395e52..dd91996b 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Subscription extends \ArrayObject @@ -19,7 +13,7 @@ class Subscription extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -120,7 +114,7 @@ public function setCost(?Price $cost): self /** * @return string[]|null */ - public function getPeriods(): ?iterable + public function getPeriods(): ?array { return $this->periods; } @@ -128,7 +122,7 @@ public function getPeriods(): ?iterable /** * @param string[]|null $periods */ - public function setPeriods(?iterable $periods): self + public function setPeriods(?array $periods): self { $this->initialized['periods'] = true; $this->periods = $periods; diff --git a/src/Model/SubscriptionJsonld.php b/src/Model/SubscriptionJsonld.php index 817e98a8..4bd1c0b0 100644 --- a/src/Model/SubscriptionJsonld.php +++ b/src/Model/SubscriptionJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -58,17 +52,11 @@ public function isInitialized($property): bool */ protected $periods; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -177,7 +165,7 @@ public function setCost(?PriceJsonld $cost): self /** * @return string[]|null */ - public function getPeriods(): ?iterable + public function getPeriods(): ?array { return $this->periods; } @@ -185,7 +173,7 @@ public function getPeriods(): ?iterable /** * @param string[]|null $periods */ - public function setPeriods(?iterable $periods): self + public function setPeriods(?array $periods): self { $this->initialized['periods'] = true; $this->periods = $periods; diff --git a/src/Model/SubscriptionOfferJsonldRead.php b/src/Model/SubscriptionOfferJsonldRead.php index 8ac24f79..27976880 100644 --- a/src/Model/SubscriptionOfferJsonldRead.php +++ b/src/Model/SubscriptionOfferJsonldRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionOfferJsonldRead extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionOfferJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -66,7 +60,7 @@ public function isInitialized($property): bool */ protected $features; /** - * @var PriceJsonldRead[]|null + * @var BuyablePriceJsonldRead[]|null */ protected $priceList; /** @@ -112,17 +106,11 @@ 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->initialized['context'] = true; @@ -242,7 +230,7 @@ public function setFeatures(?array $features): self } /** - * @return PriceJsonldRead[]|null + * @return BuyablePriceJsonldRead[]|null */ public function getPriceList(): ?array { @@ -250,7 +238,7 @@ public function getPriceList(): ?array } /** - * @param PriceJsonldRead[]|null $priceList + * @param BuyablePriceJsonldRead[]|null $priceList */ public function setPriceList(?array $priceList): self { diff --git a/src/Model/SubscriptionOfferJsonldWrite.php b/src/Model/SubscriptionOfferJsonldWrite.php index 0383af5b..89b780dd 100644 --- a/src/Model/SubscriptionOfferJsonldWrite.php +++ b/src/Model/SubscriptionOfferJsonldWrite.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionOfferJsonldWrite extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionOfferJsonldWrite extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $activeUntil; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/SubscriptionOfferRead.php b/src/Model/SubscriptionOfferRead.php index c195b3b2..1e9f7232 100644 --- a/src/Model/SubscriptionOfferRead.php +++ b/src/Model/SubscriptionOfferRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionOfferRead extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionOfferRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed[]|null @@ -54,7 +48,7 @@ public function isInitialized($property): bool */ protected $features; /** - * @var PriceRead[]|null + * @var BuyablePriceRead[]|null */ protected $priceList; /** @@ -191,7 +185,7 @@ public function setFeatures(?array $features): self } /** - * @return PriceRead[]|null + * @return BuyablePriceRead[]|null */ public function getPriceList(): ?array { @@ -199,7 +193,7 @@ public function getPriceList(): ?array } /** - * @param PriceRead[]|null $priceList + * @param BuyablePriceRead[]|null $priceList */ public function setPriceList(?array $priceList): self { diff --git a/src/Model/SubscriptionOfferWrite.php b/src/Model/SubscriptionOfferWrite.php index 96a4607a..8a2f9d23 100644 --- a/src/Model/SubscriptionOfferWrite.php +++ b/src/Model/SubscriptionOfferWrite.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionOfferWrite extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionOfferWrite extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var int|null diff --git a/src/Model/SubscriptionOption.php b/src/Model/SubscriptionOption.php index 5a91d483..44aa7494 100644 --- a/src/Model/SubscriptionOption.php +++ b/src/Model/SubscriptionOption.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionOption extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionOption extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/SubscriptionOptionJsonld.php b/src/Model/SubscriptionOptionJsonld.php index 0e706db6..6e210466 100644 --- a/src/Model/SubscriptionOptionJsonld.php +++ b/src/Model/SubscriptionOptionJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionOptionJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionOptionJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/SubscriptionType.php b/src/Model/SubscriptionType.php index ef921777..6174f7c3 100644 --- a/src/Model/SubscriptionType.php +++ b/src/Model/SubscriptionType.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionType extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionType extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/SubscriptionTypeJsonld.php b/src/Model/SubscriptionTypeJsonld.php index d1ed6d1b..ee5db248 100644 --- a/src/Model/SubscriptionTypeJsonld.php +++ b/src/Model/SubscriptionTypeJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionTypeJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionTypeJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $value; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/SubscriptionTypeJsonldRead.php b/src/Model/SubscriptionTypeJsonldRead.php index 1e376b51..3e930e5b 100644 --- a/src/Model/SubscriptionTypeJsonldRead.php +++ b/src/Model/SubscriptionTypeJsonldRead.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class SubscriptionTypeJsonldRead extends \ArrayObject @@ -19,7 +13,7 @@ class SubscriptionTypeJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/Template.php b/src/Model/Template.php new file mode 100644 index 00000000..d2412523 --- /dev/null +++ b/src/Model/Template.php @@ -0,0 +1,155 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateDeclareSatelliteTemplateInput.php b/src/Model/TemplateDeclareSatelliteTemplateInput.php new file mode 100644 index 00000000..b42209c1 --- /dev/null +++ b/src/Model/TemplateDeclareSatelliteTemplateInput.php @@ -0,0 +1,115 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateDeclareSatelliteTemplateInputJsonld.php b/src/Model/TemplateDeclareSatelliteTemplateInputJsonld.php new file mode 100644 index 00000000..7ab2199f --- /dev/null +++ b/src/Model/TemplateDeclareSatelliteTemplateInputJsonld.php @@ -0,0 +1,166 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateJsonld.php b/src/Model/TemplateJsonld.php new file mode 100644 index 00000000..701978db --- /dev/null +++ b/src/Model/TemplateJsonld.php @@ -0,0 +1,206 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateJsonldTemplateCreate.php b/src/Model/TemplateJsonldTemplateCreate.php new file mode 100644 index 00000000..15bc3e00 --- /dev/null +++ b/src/Model/TemplateJsonldTemplateCreate.php @@ -0,0 +1,189 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateJsonldTemplateList.php b/src/Model/TemplateJsonldTemplateList.php new file mode 100644 index 00000000..a697b5d3 --- /dev/null +++ b/src/Model/TemplateJsonldTemplateList.php @@ -0,0 +1,189 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateJsonldTemplateUpdate.php b/src/Model/TemplateJsonldTemplateUpdate.php new file mode 100644 index 00000000..91db1379 --- /dev/null +++ b/src/Model/TemplateJsonldTemplateUpdate.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/TemplateJsonldTemplateView.php b/src/Model/TemplateJsonldTemplateView.php new file mode 100644 index 00000000..38424cfb --- /dev/null +++ b/src/Model/TemplateJsonldTemplateView.php @@ -0,0 +1,206 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateTemplateCreate.php b/src/Model/TemplateTemplateCreate.php new file mode 100644 index 00000000..8c426894 --- /dev/null +++ b/src/Model/TemplateTemplateCreate.php @@ -0,0 +1,138 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateTemplateList.php b/src/Model/TemplateTemplateList.php new file mode 100644 index 00000000..785bbd33 --- /dev/null +++ b/src/Model/TemplateTemplateList.php @@ -0,0 +1,155 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/TemplateTemplateView.php b/src/Model/TemplateTemplateView.php new file mode 100644 index 00000000..fdd525f0 --- /dev/null +++ b/src/Model/TemplateTemplateView.php @@ -0,0 +1,155 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $keywords; + /** + * @var string[]|null + */ + protected $pictograms; + /** + * @var string[]|null + */ + protected $template; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getKeywords(): ?array + { + return $this->keywords; + } + + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self + { + $this->initialized['keywords'] = true; + $this->keywords = $keywords; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPictograms(): ?array + { + return $this->pictograms; + } + + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self + { + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplate(): ?array + { + return $this->template; + } + + /** + * @param string[]|null $template + */ + public function setTemplate(?array $template): self + { + $this->initialized['template'] = true; + $this->template = $template; + + return $this; + } +} diff --git a/src/Model/Token.php b/src/Model/Token.php index 7a988e90..f65b80a5 100644 --- a/src/Model/Token.php +++ b/src/Model/Token.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class Token extends \ArrayObject @@ -19,7 +13,7 @@ class Token extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/TraversableJsonld.php b/src/Model/TraversableJsonld.php deleted file mode 100644 index cae043cc..00000000 --- a/src/Model/TraversableJsonld.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/User.php b/src/Model/User.php deleted file mode 100644 index 6d8acf2b..00000000 --- a/src/Model/User.php +++ /dev/null @@ -1,429 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $firstName; - /** - * @var string|null - */ - protected $lastName; - /** - * @var string|null - */ - protected $username; - /** - * @var string|null - */ - protected $email; - /** - * @var string|null - */ - protected $password; - /** - * @var bool|null - */ - protected $enabled; - /** - * @var string[][]|null - */ - protected $roles; - /** - * @var string[]|null - */ - protected $authorizations; - /** - * @var string|null - */ - protected $organization; - /** - * @var string[]|null - */ - protected $additionalOrganizations; - /** - * @var string[]|null - */ - protected $workspaces; - /** - * @var string|null - */ - protected $currentWorkspace; - /** - * @var string|null - */ - protected $currentOrganization; - /** - * @var string[]|null - */ - protected $referralCodes; - /** - * @var string[]|null - */ - protected $acceptedReferralRequests; - /** - * @var string[]|null - */ - protected $akeneoLinkedAccounts; - /** - * @var string|null - */ - protected $userIdentifier; - /** - * @var string|null - */ - protected $fullName; - /** - * @var string|null - */ - protected $salt; - /** - * @var string[]|null - */ - protected $workspace; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getFirstName(): ?string - { - return $this->firstName; - } - - public function setFirstName(?string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): ?string - { - return $this->lastName; - } - - public function setLastName(?string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } - - public function getEmail(): ?string - { - return $this->email; - } - - public function setEmail(?string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getPassword(): ?string - { - return $this->password; - } - - public function setPassword(?string $password): self - { - $this->initialized['password'] = true; - $this->password = $password; - - return $this; - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function setEnabled(?bool $enabled): self - { - $this->initialized['enabled'] = true; - $this->enabled = $enabled; - - return $this; - } - - /** - * @return string[][]|null - */ - public function getRoles(): ?array - { - return $this->roles; - } - - /** - * @param string[][]|null $roles - */ - public function setRoles(?array $roles): self - { - $this->initialized['roles'] = true; - $this->roles = $roles; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAdditionalOrganizations(): ?array - { - return $this->additionalOrganizations; - } - - /** - * @param string[]|null $additionalOrganizations - */ - public function setAdditionalOrganizations(?array $additionalOrganizations): self - { - $this->initialized['additionalOrganizations'] = true; - $this->additionalOrganizations = $additionalOrganizations; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspaces(): ?array - { - return $this->workspaces; - } - - /** - * @param string[]|null $workspaces - */ - public function setWorkspaces(?array $workspaces): self - { - $this->initialized['workspaces'] = true; - $this->workspaces = $workspaces; - - return $this; - } - - public function getCurrentWorkspace(): ?string - { - return $this->currentWorkspace; - } - - public function setCurrentWorkspace(?string $currentWorkspace): self - { - $this->initialized['currentWorkspace'] = true; - $this->currentWorkspace = $currentWorkspace; - - return $this; - } - - public function getCurrentOrganization(): ?string - { - return $this->currentOrganization; - } - - public function setCurrentOrganization(?string $currentOrganization): self - { - $this->initialized['currentOrganization'] = true; - $this->currentOrganization = $currentOrganization; - - return $this; - } - - /** - * @return string[]|null - */ - public function getReferralCodes(): ?array - { - return $this->referralCodes; - } - - /** - * @param string[]|null $referralCodes - */ - public function setReferralCodes(?array $referralCodes): self - { - $this->initialized['referralCodes'] = true; - $this->referralCodes = $referralCodes; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAcceptedReferralRequests(): ?array - { - return $this->acceptedReferralRequests; - } - - /** - * @param string[]|null $acceptedReferralRequests - */ - public function setAcceptedReferralRequests(?array $acceptedReferralRequests): self - { - $this->initialized['acceptedReferralRequests'] = true; - $this->acceptedReferralRequests = $acceptedReferralRequests; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAkeneoLinkedAccounts(): ?array - { - return $this->akeneoLinkedAccounts; - } - - /** - * @param string[]|null $akeneoLinkedAccounts - */ - public function setAkeneoLinkedAccounts(?array $akeneoLinkedAccounts): self - { - $this->initialized['akeneoLinkedAccounts'] = true; - $this->akeneoLinkedAccounts = $akeneoLinkedAccounts; - - return $this; - } - - public function getUserIdentifier(): ?string - { - return $this->userIdentifier; - } - - public function setUserIdentifier(?string $userIdentifier): self - { - $this->initialized['userIdentifier'] = true; - $this->userIdentifier = $userIdentifier; - - return $this; - } - - public function getFullName(): ?string - { - return $this->fullName; - } - - public function setFullName(?string $fullName): self - { - $this->initialized['fullName'] = true; - $this->fullName = $fullName; - - return $this; - } - - public function getSalt(): ?string - { - return $this->salt; - } - - public function setSalt(?string $salt): self - { - $this->initialized['salt'] = true; - $this->salt = $salt; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspace(): ?array - { - return $this->workspace; - } - - /** - * @param string[]|null $workspace - */ - public function setWorkspace(?array $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } -} diff --git a/src/Model/UserAuthorization.php b/src/Model/UserAuthorization.php deleted file mode 100644 index b869feab..00000000 --- a/src/Model/UserAuthorization.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $user; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $resource; - /** - * @var string[]|null - */ - protected $authorizations; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getResource(): ?string - { - return $this->resource; - } - - public function setResource(?string $resource): self - { - $this->initialized['resource'] = true; - $this->resource = $resource; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } -} diff --git a/src/Model/UserAuthorizationAuthorizationRead.php b/src/Model/UserAuthorizationAuthorizationRead.php new file mode 100644 index 00000000..8a4a927d --- /dev/null +++ b/src/Model/UserAuthorizationAuthorizationRead.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $user; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $resource; + /** + * @var string[]|null + */ + protected $authorizations; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->initialized['user'] = true; + $this->user = $user; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getResource(): ?string + { + return $this->resource; + } + + public function setResource(?string $resource): self + { + $this->initialized['resource'] = true; + $this->resource = $resource; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } +} diff --git a/src/Model/UserAuthorizationAuthorizationWrite.php b/src/Model/UserAuthorizationAuthorizationWrite.php new file mode 100644 index 00000000..091bdbd4 --- /dev/null +++ b/src/Model/UserAuthorizationAuthorizationWrite.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string|null + */ + protected $user; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $resource; + /** + * @var string[]|null + */ + protected $authorizations; + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->initialized['user'] = true; + $this->user = $user; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getResource(): ?string + { + return $this->resource; + } + + public function setResource(?string $resource): self + { + $this->initialized['resource'] = true; + $this->resource = $resource; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } +} diff --git a/src/Model/UserAuthorizationJsonld.php b/src/Model/UserAuthorizationJsonld.php deleted file mode 100644 index c182fe26..00000000 --- a/src/Model/UserAuthorizationJsonld.php +++ /dev/null @@ -1,189 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $user; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string|null - */ - protected $organization; - /** - * @var string|null - */ - protected $resource; - /** - * @var string[]|null - */ - protected $authorizations; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getWorkspace(): ?string - { - return $this->workspace; - } - - public function setWorkspace(?string $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getResource(): ?string - { - return $this->resource; - } - - public function setResource(?string $resource): self - { - $this->initialized['resource'] = true; - $this->resource = $resource; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } -} diff --git a/src/Model/UserAuthorizationJsonldAuthorizationRead.php b/src/Model/UserAuthorizationJsonldAuthorizationRead.php new file mode 100644 index 00000000..0b3b2a20 --- /dev/null +++ b/src/Model/UserAuthorizationJsonldAuthorizationRead.php @@ -0,0 +1,177 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $user; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $resource; + /** + * @var string[]|null + */ + protected $authorizations; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->initialized['user'] = true; + $this->user = $user; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getResource(): ?string + { + return $this->resource; + } + + public function setResource(?string $resource): self + { + $this->initialized['resource'] = true; + $this->resource = $resource; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } +} diff --git a/src/Model/UserAuthorizationJsonldAuthorizationWrite.php b/src/Model/UserAuthorizationJsonldAuthorizationWrite.php new file mode 100644 index 00000000..2574a3dc --- /dev/null +++ b/src/Model/UserAuthorizationJsonldAuthorizationWrite.php @@ -0,0 +1,160 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $user; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var string|null + */ + protected $resource; + /** + * @var string[]|null + */ + protected $authorizations; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->initialized['user'] = true; + $this->user = $user; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getResource(): ?string + { + return $this->resource; + } + + public function setResource(?string $resource): self + { + $this->initialized['resource'] = true; + $this->resource = $resource; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } +} diff --git a/src/Model/UserId.php b/src/Model/UserId.php deleted file mode 100644 index a3db8dc5..00000000 --- a/src/Model/UserId.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var bool|null - */ - protected $nil; - - public function getNil(): ?bool - { - return $this->nil; - } - - public function setNil(?bool $nil): self - { - $this->initialized['nil'] = true; - $this->nil = $nil; - - return $this; - } -} diff --git a/src/Model/UserIdJsonld.php b/src/Model/UserIdJsonld.php deleted file mode 100644 index 245144d3..00000000 --- a/src/Model/UserIdJsonld.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var bool|null - */ - protected $nil; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getNil(): ?bool - { - return $this->nil; - } - - public function setNil(?bool $nil): self - { - $this->initialized['nil'] = true; - $this->nil = $nil; - - return $this; - } -} diff --git a/src/Model/UserJsonld.php b/src/Model/UserJsonld.php deleted file mode 100644 index 1f1da7a3..00000000 --- a/src/Model/UserJsonld.php +++ /dev/null @@ -1,486 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $firstName; - /** - * @var string|null - */ - protected $lastName; - /** - * @var string|null - */ - protected $username; - /** - * @var string|null - */ - protected $email; - /** - * @var string|null - */ - protected $password; - /** - * @var bool|null - */ - protected $enabled; - /** - * @var string[][]|null - */ - protected $roles; - /** - * @var string[]|null - */ - protected $authorizations; - /** - * @var string|null - */ - protected $organization; - /** - * @var string[]|null - */ - protected $additionalOrganizations; - /** - * @var string[]|null - */ - protected $workspaces; - /** - * @var string|null - */ - protected $currentWorkspace; - /** - * @var string|null - */ - protected $currentOrganization; - /** - * @var string[]|null - */ - protected $referralCodes; - /** - * @var string[]|null - */ - protected $acceptedReferralRequests; - /** - * @var string[]|null - */ - protected $akeneoLinkedAccounts; - /** - * @var string|null - */ - protected $userIdentifier; - /** - * @var string|null - */ - protected $fullName; - /** - * @var string|null - */ - protected $salt; - /** - * @var string[]|null - */ - protected $workspace; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getFirstName(): ?string - { - return $this->firstName; - } - - public function setFirstName(?string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): ?string - { - return $this->lastName; - } - - public function setLastName(?string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } - - public function getEmail(): ?string - { - return $this->email; - } - - public function setEmail(?string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getPassword(): ?string - { - return $this->password; - } - - public function setPassword(?string $password): self - { - $this->initialized['password'] = true; - $this->password = $password; - - return $this; - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function setEnabled(?bool $enabled): self - { - $this->initialized['enabled'] = true; - $this->enabled = $enabled; - - return $this; - } - - /** - * @return string[][]|null - */ - public function getRoles(): ?array - { - return $this->roles; - } - - /** - * @param string[][]|null $roles - */ - public function setRoles(?array $roles): self - { - $this->initialized['roles'] = true; - $this->roles = $roles; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAdditionalOrganizations(): ?array - { - return $this->additionalOrganizations; - } - - /** - * @param string[]|null $additionalOrganizations - */ - public function setAdditionalOrganizations(?array $additionalOrganizations): self - { - $this->initialized['additionalOrganizations'] = true; - $this->additionalOrganizations = $additionalOrganizations; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspaces(): ?array - { - return $this->workspaces; - } - - /** - * @param string[]|null $workspaces - */ - public function setWorkspaces(?array $workspaces): self - { - $this->initialized['workspaces'] = true; - $this->workspaces = $workspaces; - - return $this; - } - - public function getCurrentWorkspace(): ?string - { - return $this->currentWorkspace; - } - - public function setCurrentWorkspace(?string $currentWorkspace): self - { - $this->initialized['currentWorkspace'] = true; - $this->currentWorkspace = $currentWorkspace; - - return $this; - } - - public function getCurrentOrganization(): ?string - { - return $this->currentOrganization; - } - - public function setCurrentOrganization(?string $currentOrganization): self - { - $this->initialized['currentOrganization'] = true; - $this->currentOrganization = $currentOrganization; - - return $this; - } - - /** - * @return string[]|null - */ - public function getReferralCodes(): ?array - { - return $this->referralCodes; - } - - /** - * @param string[]|null $referralCodes - */ - public function setReferralCodes(?array $referralCodes): self - { - $this->initialized['referralCodes'] = true; - $this->referralCodes = $referralCodes; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAcceptedReferralRequests(): ?array - { - return $this->acceptedReferralRequests; - } - - /** - * @param string[]|null $acceptedReferralRequests - */ - public function setAcceptedReferralRequests(?array $acceptedReferralRequests): self - { - $this->initialized['acceptedReferralRequests'] = true; - $this->acceptedReferralRequests = $acceptedReferralRequests; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAkeneoLinkedAccounts(): ?array - { - return $this->akeneoLinkedAccounts; - } - - /** - * @param string[]|null $akeneoLinkedAccounts - */ - public function setAkeneoLinkedAccounts(?array $akeneoLinkedAccounts): self - { - $this->initialized['akeneoLinkedAccounts'] = true; - $this->akeneoLinkedAccounts = $akeneoLinkedAccounts; - - return $this; - } - - public function getUserIdentifier(): ?string - { - return $this->userIdentifier; - } - - public function setUserIdentifier(?string $userIdentifier): self - { - $this->initialized['userIdentifier'] = true; - $this->userIdentifier = $userIdentifier; - - return $this; - } - - public function getFullName(): ?string - { - return $this->fullName; - } - - public function setFullName(?string $fullName): self - { - $this->initialized['fullName'] = true; - $this->fullName = $fullName; - - return $this; - } - - public function getSalt(): ?string - { - return $this->salt; - } - - public function setSalt(?string $salt): self - { - $this->initialized['salt'] = true; - $this->salt = $salt; - - return $this; - } - - /** - * @return string[]|null - */ - public function getWorkspace(): ?array - { - return $this->workspace; - } - - /** - * @param string[]|null $workspace - */ - public function setWorkspace(?array $workspace): self - { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; - - return $this; - } -} diff --git a/src/Model/UserJsonldUserRead.php b/src/Model/UserJsonldUserRead.php new file mode 100644 index 00000000..3ff9f788 --- /dev/null +++ b/src/Model/UserJsonldUserRead.php @@ -0,0 +1,280 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $firstName; + /** + * @var string|null + */ + protected $lastName; + /** + * @var string|null + */ + protected $username; + /** + * @var string|null + */ + protected $email; + /** + * @var bool|null + */ + protected $enabled; + /** + * @var string[][]|null + */ + protected $roles; + /** + * @var string[]|null + */ + protected $authorizations; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $additionalOrganizations; + /** + * @var string[]|null + */ + protected $workspaces; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getFirstName(): ?string + { + return $this->firstName; + } + + public function setFirstName(?string $firstName): self + { + $this->initialized['firstName'] = true; + $this->firstName = $firstName; + + return $this; + } + + public function getLastName(): ?string + { + return $this->lastName; + } + + public function setLastName(?string $lastName): self + { + $this->initialized['lastName'] = true; + $this->lastName = $lastName; + + return $this; + } + + public function getUsername(): ?string + { + return $this->username; + } + + public function setUsername(?string $username): self + { + $this->initialized['username'] = true; + $this->username = $username; + + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(?string $email): self + { + $this->initialized['email'] = true; + $this->email = $email; + + return $this; + } + + public function getEnabled(): ?bool + { + return $this->enabled; + } + + public function setEnabled(?bool $enabled): self + { + $this->initialized['enabled'] = true; + $this->enabled = $enabled; + + return $this; + } + + /** + * @return string[][]|null + */ + public function getRoles(): ?array + { + return $this->roles; + } + + /** + * @param string[][]|null $roles + */ + public function setRoles(?array $roles): self + { + $this->initialized['roles'] = true; + $this->roles = $roles; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAdditionalOrganizations(): ?array + { + return $this->additionalOrganizations; + } + + /** + * @param string[]|null $additionalOrganizations + */ + public function setAdditionalOrganizations(?array $additionalOrganizations): self + { + $this->initialized['additionalOrganizations'] = true; + $this->additionalOrganizations = $additionalOrganizations; + + return $this; + } + + /** + * @return string[]|null + */ + public function getWorkspaces(): ?array + { + return $this->workspaces; + } + + /** + * @param string[]|null $workspaces + */ + public function setWorkspaces(?array $workspaces): self + { + $this->initialized['workspaces'] = true; + $this->workspaces = $workspaces; + + return $this; + } +} diff --git a/src/Model/UserJsonldUserWrite.php b/src/Model/UserJsonldUserWrite.php new file mode 100644 index 00000000..7bba4df2 --- /dev/null +++ b/src/Model/UserJsonldUserWrite.php @@ -0,0 +1,194 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $firstName; + /** + * @var string|null + */ + protected $lastName; + /** + * @var string|null + */ + protected $username; + /** + * @var string|null + */ + protected $email; + /** + * @var string|null + */ + protected $password; + /** + * @var string[][]|null + */ + protected $roles; + /** + * @var string|null + */ + protected $organization; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getFirstName(): ?string + { + return $this->firstName; + } + + public function setFirstName(?string $firstName): self + { + $this->initialized['firstName'] = true; + $this->firstName = $firstName; + + return $this; + } + + public function getLastName(): ?string + { + return $this->lastName; + } + + public function setLastName(?string $lastName): self + { + $this->initialized['lastName'] = true; + $this->lastName = $lastName; + + return $this; + } + + public function getUsername(): ?string + { + return $this->username; + } + + public function setUsername(?string $username): self + { + $this->initialized['username'] = true; + $this->username = $username; + + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(?string $email): self + { + $this->initialized['email'] = true; + $this->email = $email; + + return $this; + } + + public function getPassword(): ?string + { + return $this->password; + } + + public function setPassword(?string $password): self + { + $this->initialized['password'] = true; + $this->password = $password; + + return $this; + } + + /** + * @return string[][]|null + */ + public function getRoles(): ?array + { + return $this->roles; + } + + /** + * @param string[][]|null $roles + */ + public function setRoles(?array $roles): self + { + $this->initialized['roles'] = true; + $this->roles = $roles; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } +} diff --git a/src/Model/UserUserChangePasswordInput.php b/src/Model/UserUserChangePasswordInput.php deleted file mode 100644 index cda5c4f2..00000000 --- a/src/Model/UserUserChangePasswordInput.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $currentPassword; - /** - * @var string|null - */ - protected $newPassword; - /** - * @var string|null - */ - protected $confirmPassword; - - public function getCurrentPassword(): ?string - { - return $this->currentPassword; - } - - public function setCurrentPassword(?string $currentPassword): self - { - $this->initialized['currentPassword'] = true; - $this->currentPassword = $currentPassword; - - return $this; - } - - public function getNewPassword(): ?string - { - return $this->newPassword; - } - - public function setNewPassword(?string $newPassword): self - { - $this->initialized['newPassword'] = true; - $this->newPassword = $newPassword; - - return $this; - } - - public function getConfirmPassword(): ?string - { - return $this->confirmPassword; - } - - public function setConfirmPassword(?string $confirmPassword): self - { - $this->initialized['confirmPassword'] = true; - $this->confirmPassword = $confirmPassword; - - return $this; - } -} diff --git a/src/Model/UserUserRead.php b/src/Model/UserUserRead.php new file mode 100644 index 00000000..c7a294f7 --- /dev/null +++ b/src/Model/UserUserRead.php @@ -0,0 +1,229 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $firstName; + /** + * @var string|null + */ + protected $lastName; + /** + * @var string|null + */ + protected $username; + /** + * @var string|null + */ + protected $email; + /** + * @var bool|null + */ + protected $enabled; + /** + * @var string[][]|null + */ + protected $roles; + /** + * @var string[]|null + */ + protected $authorizations; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $additionalOrganizations; + /** + * @var string[]|null + */ + protected $workspaces; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getFirstName(): ?string + { + return $this->firstName; + } + + public function setFirstName(?string $firstName): self + { + $this->initialized['firstName'] = true; + $this->firstName = $firstName; + + return $this; + } + + public function getLastName(): ?string + { + return $this->lastName; + } + + public function setLastName(?string $lastName): self + { + $this->initialized['lastName'] = true; + $this->lastName = $lastName; + + return $this; + } + + public function getUsername(): ?string + { + return $this->username; + } + + public function setUsername(?string $username): self + { + $this->initialized['username'] = true; + $this->username = $username; + + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(?string $email): self + { + $this->initialized['email'] = true; + $this->email = $email; + + return $this; + } + + public function getEnabled(): ?bool + { + return $this->enabled; + } + + public function setEnabled(?bool $enabled): self + { + $this->initialized['enabled'] = true; + $this->enabled = $enabled; + + return $this; + } + + /** + * @return string[][]|null + */ + public function getRoles(): ?array + { + return $this->roles; + } + + /** + * @param string[][]|null $roles + */ + public function setRoles(?array $roles): self + { + $this->initialized['roles'] = true; + $this->roles = $roles; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAdditionalOrganizations(): ?array + { + return $this->additionalOrganizations; + } + + /** + * @param string[]|null $additionalOrganizations + */ + public function setAdditionalOrganizations(?array $additionalOrganizations): self + { + $this->initialized['additionalOrganizations'] = true; + $this->additionalOrganizations = $additionalOrganizations; + + return $this; + } + + /** + * @return string[]|null + */ + public function getWorkspaces(): ?array + { + return $this->workspaces; + } + + /** + * @param string[]|null $workspaces + */ + public function setWorkspaces(?array $workspaces): self + { + $this->initialized['workspaces'] = true; + $this->workspaces = $workspaces; + + return $this; + } +} diff --git a/src/Model/UserUserWrite.php b/src/Model/UserUserWrite.php new file mode 100644 index 00000000..f9cd4e60 --- /dev/null +++ b/src/Model/UserUserWrite.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var string|null + */ + protected $firstName; + /** + * @var string|null + */ + protected $lastName; + /** + * @var string|null + */ + protected $username; + /** + * @var string|null + */ + protected $email; + /** + * @var string|null + */ + protected $password; + /** + * @var string[][]|null + */ + protected $roles; + /** + * @var string|null + */ + protected $organization; + + public function getFirstName(): ?string + { + return $this->firstName; + } + + public function setFirstName(?string $firstName): self + { + $this->initialized['firstName'] = true; + $this->firstName = $firstName; + + return $this; + } + + public function getLastName(): ?string + { + return $this->lastName; + } + + public function setLastName(?string $lastName): self + { + $this->initialized['lastName'] = true; + $this->lastName = $lastName; + + return $this; + } + + public function getUsername(): ?string + { + return $this->username; + } + + public function setUsername(?string $username): self + { + $this->initialized['username'] = true; + $this->username = $username; + + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(?string $email): self + { + $this->initialized['email'] = true; + $this->email = $email; + + return $this; + } + + public function getPassword(): ?string + { + return $this->password; + } + + public function setPassword(?string $password): self + { + $this->initialized['password'] = true; + $this->password = $password; + + return $this; + } + + /** + * @return string[][]|null + */ + public function getRoles(): ?array + { + return $this->roles; + } + + /** + * @param string[][]|null $roles + */ + public function setRoles(?array $roles): self + { + $this->initialized['roles'] = true; + $this->roles = $roles; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigurationInput.php b/src/Model/VariableFromConfigurationInput.php deleted file mode 100644 index ef903066..00000000 --- a/src/Model/VariableFromConfigurationInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $from; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getFrom(): ?string - { - return $this->from; - } - - public function setFrom(?string $from): self - { - $this->initialized['from'] = true; - $this->from = $from; - - return $this; - } -} diff --git a/src/Model/VariableFromConfigurationInputEnvironmentUpdate.php b/src/Model/VariableFromConfigurationInputEnvironmentUpdate.php new file mode 100644 index 00000000..2abaf873 --- /dev/null +++ b/src/Model/VariableFromConfigurationInputEnvironmentUpdate.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $from; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->initialized['from'] = true; + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigurationInputJsonld.php b/src/Model/VariableFromConfigurationInputJsonld.php deleted file mode 100644 index bb3a6ac6..00000000 --- a/src/Model/VariableFromConfigurationInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $from; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getFrom(): ?string - { - return $this->from; - } - - public function setFrom(?string $from): self - { - $this->initialized['from'] = true; - $this->from = $from; - - return $this; - } -} diff --git a/src/Model/VariableFromConfigurationInputJsonldEnvironmentUpdate.php b/src/Model/VariableFromConfigurationInputJsonldEnvironmentUpdate.php new file mode 100644 index 00000000..653f27f5 --- /dev/null +++ b/src/Model/VariableFromConfigurationInputJsonldEnvironmentUpdate.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $from; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->initialized['from'] = true; + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigurationJsonldRead.php b/src/Model/VariableFromConfigurationJsonldRead.php deleted file mode 100644 index ceaf4b73..00000000 --- a/src/Model/VariableFromConfigurationJsonldRead.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var ConfigurationJsonldRead|null - */ - protected $configuration; - /** - * @var string|null - */ - protected $item; - /** - * @var EnvironmentJsonldRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getConfiguration(): ?ConfigurationJsonldRead - { - return $this->configuration; - } - - public function setConfiguration(?ConfigurationJsonldRead $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - public function getItem(): ?string - { - return $this->item; - } - - public function setItem(?string $item): self - { - $this->initialized['item'] = true; - $this->item = $item; - - return $this; - } - - public function getEnvironment(): ?EnvironmentJsonldRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentJsonldRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableFromConfigurationJsonldVariableUpdate.php b/src/Model/VariableFromConfigurationJsonldVariableUpdate.php new file mode 100644 index 00000000..5ba37aaf --- /dev/null +++ b/src/Model/VariableFromConfigurationJsonldVariableUpdate.php @@ -0,0 +1,137 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $configuration; + /** + * @var string|null + */ + protected $item; + /** + * @var string|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getConfiguration(): ?string + { + return $this->configuration; + } + + public function setConfiguration(?string $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + public function getItem(): ?string + { + return $this->item; + } + + public function setItem(?string $item): self + { + $this->initialized['item'] = true; + $this->item = $item; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigurationJsonldVariableViewEnvironmentView.php b/src/Model/VariableFromConfigurationJsonldVariableViewEnvironmentView.php new file mode 100644 index 00000000..261519f4 --- /dev/null +++ b/src/Model/VariableFromConfigurationJsonldVariableViewEnvironmentView.php @@ -0,0 +1,154 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $configuration; + /** + * @var string|null + */ + protected $item; + /** + * @var string|null + */ + protected $id2; + /** + * @var EnvironmentJsonldVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getConfiguration(): ?string + { + return $this->configuration; + } + + public function setConfiguration(?string $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + public function getItem(): ?string + { + return $this->item; + } + + public function setItem(?string $item): self + { + $this->initialized['item'] = true; + $this->item = $item; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getEnvironment(): ?EnvironmentJsonldVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentJsonldVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigurationJsonldWrite.php b/src/Model/VariableFromConfigurationJsonldWrite.php deleted file mode 100644 index b432aad0..00000000 --- a/src/Model/VariableFromConfigurationJsonldWrite.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/VariableFromConfigurationRead.php b/src/Model/VariableFromConfigurationRead.php deleted file mode 100644 index cfa88733..00000000 --- a/src/Model/VariableFromConfigurationRead.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var ConfigurationRead|null - */ - protected $configuration; - /** - * @var string|null - */ - protected $item; - /** - * @var EnvironmentRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - public function getConfiguration(): ?ConfigurationRead - { - return $this->configuration; - } - - public function setConfiguration(?ConfigurationRead $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } - - public function getItem(): ?string - { - return $this->item; - } - - public function setItem(?string $item): self - { - $this->initialized['item'] = true; - $this->item = $item; - - return $this; - } - - public function getEnvironment(): ?EnvironmentRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableFromConfigurationVariableUpdate.php b/src/Model/VariableFromConfigurationVariableUpdate.php new file mode 100644 index 00000000..969df240 --- /dev/null +++ b/src/Model/VariableFromConfigurationVariableUpdate.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $configuration; + /** + * @var string|null + */ + protected $item; + /** + * @var string|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getConfiguration(): ?string + { + return $this->configuration; + } + + public function setConfiguration(?string $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + public function getItem(): ?string + { + return $this->item; + } + + public function setItem(?string $item): self + { + $this->initialized['item'] = true; + $this->item = $item; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigurationVariableViewEnvironmentView.php b/src/Model/VariableFromConfigurationVariableViewEnvironmentView.php new file mode 100644 index 00000000..9c9f4df0 --- /dev/null +++ b/src/Model/VariableFromConfigurationVariableViewEnvironmentView.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var string|null + */ + protected $configuration; + /** + * @var string|null + */ + protected $item; + /** + * @var string|null + */ + protected $id; + /** + * @var EnvironmentVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getConfiguration(): ?string + { + return $this->configuration; + } + + public function setConfiguration(?string $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + public function getItem(): ?string + { + return $this->item; + } + + public function setItem(?string $item): self + { + $this->initialized['item'] = true; + $this->item = $item; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getEnvironment(): ?EnvironmentVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromConstantInput.php b/src/Model/VariableFromConstantInput.php deleted file mode 100644 index 89bf9661..00000000 --- a/src/Model/VariableFromConstantInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $value; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } -} diff --git a/src/Model/VariableFromConstantInputEnvironmentUpdate.php b/src/Model/VariableFromConstantInputEnvironmentUpdate.php new file mode 100644 index 00000000..b5141747 --- /dev/null +++ b/src/Model/VariableFromConstantInputEnvironmentUpdate.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $value; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } +} diff --git a/src/Model/VariableFromConstantInputJsonld.php b/src/Model/VariableFromConstantInputJsonld.php deleted file mode 100644 index 1330b90f..00000000 --- a/src/Model/VariableFromConstantInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $value; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } -} diff --git a/src/Model/VariableFromConstantInputJsonldEnvironmentUpdate.php b/src/Model/VariableFromConstantInputJsonldEnvironmentUpdate.php new file mode 100644 index 00000000..25929696 --- /dev/null +++ b/src/Model/VariableFromConstantInputJsonldEnvironmentUpdate.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $value; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } +} diff --git a/src/Model/VariableFromConstantJsonldRead.php b/src/Model/VariableFromConstantJsonldRead.php deleted file mode 100644 index 5b1ec1aa..00000000 --- a/src/Model/VariableFromConstantJsonldRead.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $value; - /** - * @var EnvironmentJsonldRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } - - public function getEnvironment(): ?EnvironmentJsonldRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentJsonldRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableFromConstantJsonldVariableUpdate.php b/src/Model/VariableFromConstantJsonldVariableUpdate.php new file mode 100644 index 00000000..14d322b8 --- /dev/null +++ b/src/Model/VariableFromConstantJsonldVariableUpdate.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $value; + /** + * @var string|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromConstantJsonldVariableViewEnvironmentView.php b/src/Model/VariableFromConstantJsonldVariableViewEnvironmentView.php new file mode 100644 index 00000000..6c7dcc20 --- /dev/null +++ b/src/Model/VariableFromConstantJsonldVariableViewEnvironmentView.php @@ -0,0 +1,137 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $value; + /** + * @var string|null + */ + protected $id2; + /** + * @var EnvironmentJsonldVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getEnvironment(): ?EnvironmentJsonldVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentJsonldVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromConstantJsonldWrite.php b/src/Model/VariableFromConstantJsonldWrite.php deleted file mode 100644 index a2cd4add..00000000 --- a/src/Model/VariableFromConstantJsonldWrite.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/VariableFromConstantRead.php b/src/Model/VariableFromConstantRead.php deleted file mode 100644 index 2646b630..00000000 --- a/src/Model/VariableFromConstantRead.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $value; - /** - * @var EnvironmentRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } - - public function getEnvironment(): ?EnvironmentRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableFromConstantVariableUpdate.php b/src/Model/VariableFromConstantVariableUpdate.php new file mode 100644 index 00000000..d57c4e99 --- /dev/null +++ b/src/Model/VariableFromConstantVariableUpdate.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var string|null + */ + protected $value; + /** + * @var string|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromConstantVariableViewEnvironmentView.php b/src/Model/VariableFromConstantVariableViewEnvironmentView.php new file mode 100644 index 00000000..d9dacac9 --- /dev/null +++ b/src/Model/VariableFromConstantVariableViewEnvironmentView.php @@ -0,0 +1,86 @@ +initialized); + } + /** + * @var string|null + */ + protected $value; + /** + * @var string|null + */ + protected $id; + /** + * @var EnvironmentVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getEnvironment(): ?EnvironmentVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretInput.php b/src/Model/VariableFromSecretInput.php deleted file mode 100644 index f83c660b..00000000 --- a/src/Model/VariableFromSecretInput.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $from; - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getFrom(): ?string - { - return $this->from; - } - - public function setFrom(?string $from): self - { - $this->initialized['from'] = true; - $this->from = $from; - - return $this; - } -} diff --git a/src/Model/VariableFromSecretInputEnvironmentUpdate.php b/src/Model/VariableFromSecretInputEnvironmentUpdate.php new file mode 100644 index 00000000..0a387565 --- /dev/null +++ b/src/Model/VariableFromSecretInputEnvironmentUpdate.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $from; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->initialized['from'] = true; + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretInputJsonld.php b/src/Model/VariableFromSecretInputJsonld.php deleted file mode 100644 index 17bd9b47..00000000 --- a/src/Model/VariableFromSecretInputJsonld.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $from; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getFrom(): ?string - { - return $this->from; - } - - public function setFrom(?string $from): self - { - $this->initialized['from'] = true; - $this->from = $from; - - return $this; - } -} diff --git a/src/Model/VariableFromSecretInputJsonldEnvironmentUpdate.php b/src/Model/VariableFromSecretInputJsonldEnvironmentUpdate.php new file mode 100644 index 00000000..8871d8e8 --- /dev/null +++ b/src/Model/VariableFromSecretInputJsonldEnvironmentUpdate.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $from; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->initialized['from'] = true; + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretJsonldRead.php b/src/Model/VariableFromSecretJsonldRead.php deleted file mode 100644 index 00110281..00000000 --- a/src/Model/VariableFromSecretJsonldRead.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var SecretJsonldRead|null - */ - protected $secret; - /** - * @var string|null - */ - protected $item; - /** - * @var EnvironmentJsonldRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getSecret(): ?SecretJsonldRead - { - return $this->secret; - } - - public function setSecret(?SecretJsonldRead $secret): self - { - $this->initialized['secret'] = true; - $this->secret = $secret; - - return $this; - } - - public function getItem(): ?string - { - return $this->item; - } - - public function setItem(?string $item): self - { - $this->initialized['item'] = true; - $this->item = $item; - - return $this; - } - - public function getEnvironment(): ?EnvironmentJsonldRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentJsonldRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableFromSecretJsonldVariableUpdate.php b/src/Model/VariableFromSecretJsonldVariableUpdate.php new file mode 100644 index 00000000..41ad8820 --- /dev/null +++ b/src/Model/VariableFromSecretJsonldVariableUpdate.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretJsonldVariableViewEnvironmentView.php b/src/Model/VariableFromSecretJsonldVariableViewEnvironmentView.php new file mode 100644 index 00000000..b2f783d5 --- /dev/null +++ b/src/Model/VariableFromSecretJsonldVariableViewEnvironmentView.php @@ -0,0 +1,154 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $secret; + /** + * @var string|null + */ + protected $item; + /** + * @var string|null + */ + protected $id2; + /** + * @var EnvironmentJsonldVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getSecret(): ?string + { + return $this->secret; + } + + public function setSecret(?string $secret): self + { + $this->initialized['secret'] = true; + $this->secret = $secret; + + return $this; + } + + public function getItem(): ?string + { + return $this->item; + } + + public function setItem(?string $item): self + { + $this->initialized['item'] = true; + $this->item = $item; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getEnvironment(): ?EnvironmentJsonldVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentJsonldVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretJsonldWrite.php b/src/Model/VariableFromSecretJsonldWrite.php deleted file mode 100644 index 82707dc7..00000000 --- a/src/Model/VariableFromSecretJsonldWrite.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/VariableFromSecretRead.php b/src/Model/VariableFromSecretRead.php deleted file mode 100644 index 7841eb1f..00000000 --- a/src/Model/VariableFromSecretRead.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var SecretRead|null - */ - protected $secret; - /** - * @var string|null - */ - protected $item; - /** - * @var EnvironmentRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - public function getSecret(): ?SecretRead - { - return $this->secret; - } - - public function setSecret(?SecretRead $secret): self - { - $this->initialized['secret'] = true; - $this->secret = $secret; - - return $this; - } - - public function getItem(): ?string - { - return $this->item; - } - - public function setItem(?string $item): self - { - $this->initialized['item'] = true; - $this->item = $item; - - return $this; - } - - public function getEnvironment(): ?EnvironmentRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableFromSecretVariableUpdate.php b/src/Model/VariableFromSecretVariableUpdate.php new file mode 100644 index 00000000..c0d69afb --- /dev/null +++ b/src/Model/VariableFromSecretVariableUpdate.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getEnvironment(): ?string + { + return $this->environment; + } + + public function setEnvironment(?string $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretVariableViewEnvironmentView.php b/src/Model/VariableFromSecretVariableViewEnvironmentView.php new file mode 100644 index 00000000..a490323c --- /dev/null +++ b/src/Model/VariableFromSecretVariableViewEnvironmentView.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var string|null + */ + protected $secret; + /** + * @var string|null + */ + protected $item; + /** + * @var string|null + */ + protected $id; + /** + * @var EnvironmentVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getSecret(): ?string + { + return $this->secret; + } + + public function setSecret(?string $secret): self + { + $this->initialized['secret'] = true; + $this->secret = $secret; + + return $this; + } + + public function getItem(): ?string + { + return $this->item; + } + + public function setItem(?string $item): self + { + $this->initialized['item'] = true; + $this->item = $item; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getEnvironment(): ?EnvironmentVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableJsonldRead.php b/src/Model/VariableJsonldRead.php deleted file mode 100644 index 74fd7369..00000000 --- a/src/Model/VariableJsonldRead.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var EnvironmentJsonldRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getEnvironment(): ?EnvironmentJsonldRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentJsonldRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableJsonldVariableViewEnvironmentView.php b/src/Model/VariableJsonldVariableViewEnvironmentView.php new file mode 100644 index 00000000..5ed8aad8 --- /dev/null +++ b/src/Model/VariableJsonldVariableViewEnvironmentView.php @@ -0,0 +1,120 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var EnvironmentJsonldVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getEnvironment(): ?EnvironmentJsonldVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentJsonldVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableRead.php b/src/Model/VariableRead.php deleted file mode 100644 index 09aa0152..00000000 --- a/src/Model/VariableRead.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var EnvironmentRead|null - */ - protected $environment; - /** - * @var string|null - */ - protected $name; - - public function getEnvironment(): ?EnvironmentRead - { - return $this->environment; - } - - public function setEnvironment(?EnvironmentRead $environment): self - { - $this->initialized['environment'] = true; - $this->environment = $environment; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/src/Model/VariableVariableViewEnvironmentView.php b/src/Model/VariableVariableViewEnvironmentView.php new file mode 100644 index 00000000..1f01399b --- /dev/null +++ b/src/Model/VariableVariableViewEnvironmentView.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var EnvironmentVariableViewEnvironmentView|null + */ + protected $environment; + /** + * @var string|null + */ + protected $name; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getEnvironment(): ?EnvironmentVariableViewEnvironmentView + { + return $this->environment; + } + + public function setEnvironment(?EnvironmentVariableViewEnvironmentView $environment): self + { + $this->initialized['environment'] = true; + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/WorkflowCompileWorkflowCommandInputJsonld.php b/src/Model/WorkflowCompileWorkflowCommandInputJsonld.php index 03441ee7..0121e68d 100644 --- a/src/Model/WorkflowCompileWorkflowCommandInputJsonld.php +++ b/src/Model/WorkflowCompileWorkflowCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowCompileWorkflowCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowCompileWorkflowCommandInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/WorkflowCompileWorkflowCommandJsonldRead.php b/src/Model/WorkflowCompileWorkflowCommandJsonldRead.php deleted file mode 100644 index bfc83daf..00000000 --- a/src/Model/WorkflowCompileWorkflowCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/WorkflowCompileWorkflowCommandJsonldWorkflowRead.php b/src/Model/WorkflowCompileWorkflowCommandJsonldWorkflowRead.php new file mode 100644 index 00000000..11200838 --- /dev/null +++ b/src/Model/WorkflowCompileWorkflowCommandJsonldWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowDeclareWorkflowCommandInput.php b/src/Model/WorkflowDeclareWorkflowCommandInput.php index 4c08ef17..d07efd94 100644 --- a/src/Model/WorkflowDeclareWorkflowCommandInput.php +++ b/src/Model/WorkflowDeclareWorkflowCommandInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowDeclareWorkflowCommandInput extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowDeclareWorkflowCommandInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var Job[]|null diff --git a/src/Model/WorkflowDeclareWorkflowCommandInputJsonld.php b/src/Model/WorkflowDeclareWorkflowCommandInputJsonld.php index ee5a8d26..04629e1b 100644 --- a/src/Model/WorkflowDeclareWorkflowCommandInputJsonld.php +++ b/src/Model/WorkflowDeclareWorkflowCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowDeclareWorkflowCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowDeclareWorkflowCommandInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $label; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/WorkflowDeclareWorkflowCommandJsonldRead.php b/src/Model/WorkflowDeclareWorkflowCommandJsonldRead.php deleted file mode 100644 index c7276d42..00000000 --- a/src/Model/WorkflowDeclareWorkflowCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/WorkflowDeclareWorkflowCommandJsonldWorkflowRead.php b/src/Model/WorkflowDeclareWorkflowCommandJsonldWorkflowRead.php new file mode 100644 index 00000000..26c9c161 --- /dev/null +++ b/src/Model/WorkflowDeclareWorkflowCommandJsonldWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInput.php b/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInput.php index 1a82c128..c99cd861 100644 --- a/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInput.php +++ b/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowDeclareWorkflowScheduleCrontabCommandInput extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowDeclareWorkflowScheduleCrontabCommandInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld.php b/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld.php index ba792712..fba34bee 100644 --- a/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld.php +++ b/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld extends \ArrayObj public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -42,17 +36,11 @@ public function isInitialized($property): bool */ protected $environment; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead.php b/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead.php deleted file mode 100644 index 42beffbe..00000000 --- a/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead.php b/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead.php new file mode 100644 index 00000000..4b562803 --- /dev/null +++ b/src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInput.php b/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInput.php index 45bb704f..44650733 100644 --- a/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInput.php +++ b/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInput.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowDeclareWorkflowScheduleImmediateCommandInput extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowDeclareWorkflowScheduleImmediateCommandInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null diff --git a/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld.php b/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld.php index 5e1a0af7..79a4004f 100644 --- a/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld.php +++ b/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -38,17 +32,11 @@ public function isInitialized($property): bool */ protected $environment; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead.php b/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead.php deleted file mode 100644 index c87a70d4..00000000 --- a/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead.php b/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead.php new file mode 100644 index 00000000..c679cbc7 --- /dev/null +++ b/src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAction.php b/src/Model/WorkflowJobAction.php deleted file mode 100644 index aaab1f96..00000000 --- a/src/Model/WorkflowJobAction.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $job; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - public function getJob(): ?string - { - return $this->job; - } - - public function setJob(?string $job): self - { - $this->initialized['job'] = true; - $this->job = $job; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/WorkflowJobActionActionRead.php b/src/Model/WorkflowJobActionActionRead.php new file mode 100644 index 00000000..12763238 --- /dev/null +++ b/src/Model/WorkflowJobActionActionRead.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string|null + */ + protected $job; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + + public function getJob(): ?string + { + return $this->job; + } + + public function setJob(?string $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/WorkflowJobActionJobRead.php b/src/Model/WorkflowJobActionJobRead.php new file mode 100644 index 00000000..de07c145 --- /dev/null +++ b/src/Model/WorkflowJobActionJobRead.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var WorkflowJobJobRead|null + */ + protected $job; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + + public function getJob(): ?WorkflowJobJobRead + { + return $this->job; + } + + public function setJob(?WorkflowJobJobRead $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/WorkflowJobActionJsonld.php b/src/Model/WorkflowJobActionJsonld.php deleted file mode 100644 index 7059145c..00000000 --- a/src/Model/WorkflowJobActionJsonld.php +++ /dev/null @@ -1,172 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $job; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getJob(): ?string - { - return $this->job; - } - - public function setJob(?string $job): self - { - $this->initialized['job'] = true; - $this->job = $job; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/WorkflowJobActionJsonldActionRead.php b/src/Model/WorkflowJobActionJsonldActionRead.php new file mode 100644 index 00000000..de7118e8 --- /dev/null +++ b/src/Model/WorkflowJobActionJsonldActionRead.php @@ -0,0 +1,160 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $job; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getJob(): ?string + { + return $this->job; + } + + public function setJob(?string $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/WorkflowJobActionJsonldJobRead.php b/src/Model/WorkflowJobActionJsonldJobRead.php new file mode 100644 index 00000000..1aeb08a7 --- /dev/null +++ b/src/Model/WorkflowJobActionJsonldJobRead.php @@ -0,0 +1,160 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var WorkflowJobJsonldJobRead|null + */ + protected $job; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getJob(): ?WorkflowJobJsonldJobRead + { + return $this->job; + } + + public function setJob(?WorkflowJobJsonldJobRead $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?array + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?array $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } +} diff --git a/src/Model/WorkflowJobActionJsonldRead.php b/src/Model/WorkflowJobActionJsonldRead.php deleted file mode 100644 index 9f20d676..00000000 --- a/src/Model/WorkflowJobActionJsonldRead.php +++ /dev/null @@ -1,155 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/WorkflowJobActionRead.php b/src/Model/WorkflowJobActionRead.php deleted file mode 100644 index 1e535add..00000000 --- a/src/Model/WorkflowJobActionRead.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $configuration; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getConfiguration(): ?array - { - return $this->configuration; - } - - /** - * @param string[]|null $configuration - */ - public function setConfiguration(?array $configuration): self - { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; - - return $this; - } -} diff --git a/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInput.php b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInput.php new file mode 100644 index 00000000..9d55a797 --- /dev/null +++ b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInput.php @@ -0,0 +1,98 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var Probe[]|null + */ + protected $probes; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return Probe[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param Probe[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld.php new file mode 100644 index 00000000..8a5a2f1b --- /dev/null +++ b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld.php @@ -0,0 +1,149 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var ProbeJsonld[]|null + */ + protected $probes; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return ProbeJsonld[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param ProbeJsonld[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead.php b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead.php new file mode 100644 index 00000000..e6757a92 --- /dev/null +++ b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInput.php b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInput.php new file mode 100644 index 00000000..b495eeb4 --- /dev/null +++ b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInput.php @@ -0,0 +1,98 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var Probe[]|null + */ + protected $probes; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return Probe[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param Probe[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld.php new file mode 100644 index 00000000..88f57b60 --- /dev/null +++ b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld.php @@ -0,0 +1,149 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var ProbeJsonld[]|null + */ + protected $probes; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return ProbeJsonld[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param ProbeJsonld[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead.php b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead.php new file mode 100644 index 00000000..acb793dd --- /dev/null +++ b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInput.php b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInput.php new file mode 100644 index 00000000..30228eb6 --- /dev/null +++ b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInput.php @@ -0,0 +1,98 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var Probe[]|null + */ + protected $probes; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return Probe[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param Probe[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld.php new file mode 100644 index 00000000..b22f1409 --- /dev/null +++ b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld.php @@ -0,0 +1,149 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var ProbeJsonld[]|null + */ + protected $probes; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return ProbeJsonld[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param ProbeJsonld[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead.php b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead.php new file mode 100644 index 00000000..4dff63a4 --- /dev/null +++ b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJobJobRead.php b/src/Model/WorkflowJobJobRead.php new file mode 100644 index 00000000..cde2ec5f --- /dev/null +++ b/src/Model/WorkflowJobJobRead.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $code; + /** + * @var int|null + */ + protected $order; + /** + * @var WorkflowJobPipelineJobRead|null + */ + protected $pipeline; + /** + * @var WorkflowJobActionJobRead|null + */ + protected $action; + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getOrder(): ?int + { + return $this->order; + } + + public function setOrder(?int $order): self + { + $this->initialized['order'] = true; + $this->order = $order; + + return $this; + } + + public function getPipeline(): ?WorkflowJobPipelineJobRead + { + return $this->pipeline; + } + + public function setPipeline(?WorkflowJobPipelineJobRead $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getAction(): ?WorkflowJobActionJobRead + { + return $this->action; + } + + public function setAction(?WorkflowJobActionJobRead $action): self + { + $this->initialized['action'] = true; + $this->action = $action; + + return $this; + } +} diff --git a/src/Model/WorkflowJobJsonldJobRead.php b/src/Model/WorkflowJobJsonldJobRead.php new file mode 100644 index 00000000..c5b6e616 --- /dev/null +++ b/src/Model/WorkflowJobJsonldJobRead.php @@ -0,0 +1,154 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $workflow; + /** + * @var string|null + */ + protected $code; + /** + * @var int|null + */ + protected $order; + /** + * @var WorkflowJobPipelineJsonldJobRead|null + */ + protected $pipeline; + /** + * @var WorkflowJobActionJsonldJobRead|null + */ + protected $action; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getWorkflow(): ?string + { + return $this->workflow; + } + + public function setWorkflow(?string $workflow): self + { + $this->initialized['workflow'] = true; + $this->workflow = $workflow; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getOrder(): ?int + { + return $this->order; + } + + public function setOrder(?int $order): self + { + $this->initialized['order'] = true; + $this->order = $order; + + return $this; + } + + public function getPipeline(): ?WorkflowJobPipelineJsonldJobRead + { + return $this->pipeline; + } + + public function setPipeline(?WorkflowJobPipelineJsonldJobRead $pipeline): self + { + $this->initialized['pipeline'] = true; + $this->pipeline = $pipeline; + + return $this; + } + + public function getAction(): ?WorkflowJobActionJsonldJobRead + { + return $this->action; + } + + public function setAction(?WorkflowJobActionJsonldJobRead $action): self + { + $this->initialized['action'] = true; + $this->action = $action; + + return $this; + } +} diff --git a/src/Model/WorkflowJobJsonldRead.php b/src/Model/WorkflowJobJsonldRead.php deleted file mode 100644 index 335b68ec..00000000 --- a/src/Model/WorkflowJobJsonldRead.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var WorkflowJsonldRead|null - */ - protected $workflow; - /** - * @var WorkflowJobPipelineJsonldRead|null - */ - protected $pipeline; - /** - * @var WorkflowJobActionJsonldRead|null - */ - protected $action; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getWorkflow(): ?WorkflowJsonldRead - { - return $this->workflow; - } - - public function setWorkflow(?WorkflowJsonldRead $workflow): self - { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; - - return $this; - } - - public function getPipeline(): ?WorkflowJobPipelineJsonldRead - { - return $this->pipeline; - } - - public function setPipeline(?WorkflowJobPipelineJsonldRead $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - public function getAction(): ?WorkflowJobActionJsonldRead - { - return $this->action; - } - - public function setAction(?WorkflowJobActionJsonldRead $action): self - { - $this->initialized['action'] = true; - $this->action = $action; - - return $this; - } -} diff --git a/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInput.php b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInput.php new file mode 100644 index 00000000..e0fc994f --- /dev/null +++ b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInput.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $after; + /** + * @var string|null + */ + protected $code; + + public function getAfter(): ?string + { + return $this->after; + } + + public function setAfter(?string $after): self + { + $this->initialized['after'] = true; + $this->after = $after; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld.php new file mode 100644 index 00000000..cc56f533 --- /dev/null +++ b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $after; + /** + * @var string|null + */ + protected $code; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getAfter(): ?string + { + return $this->after; + } + + public function setAfter(?string $after): self + { + $this->initialized['after'] = true; + $this->after = $after; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead.php b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead.php new file mode 100644 index 00000000..ffd1d8d1 --- /dev/null +++ b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput.php b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput.php new file mode 100644 index 00000000..1c5adf0b --- /dev/null +++ b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $before; + /** + * @var string|null + */ + protected $code; + + public function getBefore(): ?string + { + return $this->before; + } + + public function setBefore(?string $before): self + { + $this->initialized['before'] = true; + $this->before = $before; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld.php new file mode 100644 index 00000000..23772e6e --- /dev/null +++ b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $before; + /** + * @var string|null + */ + protected $code; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getBefore(): ?string + { + return $this->before; + } + + public function setBefore(?string $before): self + { + $this->initialized['before'] = true; + $this->before = $before; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead.php b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead.php new file mode 100644 index 00000000..7116a028 --- /dev/null +++ b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJobPipeline.php b/src/Model/WorkflowJobPipeline.php deleted file mode 100644 index 258db2cb..00000000 --- a/src/Model/WorkflowJobPipeline.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $job; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $runtime; - /** - * @var string[]|null - */ - protected $steps; - - public function getJob(): ?string - { - return $this->job; - } - - public function setJob(?string $job): self - { - $this->initialized['job'] = true; - $this->job = $job; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getRuntime(): ?array - { - return $this->runtime; - } - - /** - * @param string[]|null $runtime - */ - public function setRuntime(?array $runtime): self - { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; - - return $this; - } - - /** - * @return string[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/WorkflowJobPipelineJobRead.php b/src/Model/WorkflowJobPipelineJobRead.php new file mode 100644 index 00000000..af7f57df --- /dev/null +++ b/src/Model/WorkflowJobPipelineJobRead.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var WorkflowJobJobRead|null + */ + protected $job; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var PipelineStepJobRead[]|null + */ + protected $steps; + + public function getJob(): ?WorkflowJobJobRead + { + return $this->job; + } + + public function setJob(?WorkflowJobJobRead $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return PipelineStepJobRead[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param PipelineStepJobRead[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/WorkflowJobPipelineJsonld.php b/src/Model/WorkflowJobPipelineJsonld.php deleted file mode 100644 index d9f0dc1f..00000000 --- a/src/Model/WorkflowJobPipelineJsonld.php +++ /dev/null @@ -1,195 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $job; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $runtime; - /** - * @var string[]|null - */ - protected $steps; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getJob(): ?string - { - return $this->job; - } - - public function setJob(?string $job): self - { - $this->initialized['job'] = true; - $this->job = $job; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getRuntime(): ?array - { - return $this->runtime; - } - - /** - * @param string[]|null $runtime - */ - public function setRuntime(?array $runtime): self - { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; - - return $this; - } - - /** - * @return string[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/WorkflowJobPipelineJsonldJobRead.php b/src/Model/WorkflowJobPipelineJsonldJobRead.php new file mode 100644 index 00000000..6c705e77 --- /dev/null +++ b/src/Model/WorkflowJobPipelineJsonldJobRead.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var WorkflowJobJsonldJobRead|null + */ + protected $job; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var PipelineStepJsonldJobRead[]|null + */ + protected $steps; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getJob(): ?WorkflowJobJsonldJobRead + { + return $this->job; + } + + public function setJob(?WorkflowJobJsonldJobRead $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return PipelineStepJsonldJobRead[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param PipelineStepJsonldJobRead[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/WorkflowJobPipelineJsonldPipelineRead.php b/src/Model/WorkflowJobPipelineJsonldPipelineRead.php new file mode 100644 index 00000000..44a97750 --- /dev/null +++ b/src/Model/WorkflowJobPipelineJsonldPipelineRead.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $job; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $steps; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getJob(): ?string + { + return $this->job; + } + + public function setJob(?string $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/WorkflowJobPipelineJsonldRead.php b/src/Model/WorkflowJobPipelineJsonldRead.php deleted file mode 100644 index 0975d178..00000000 --- a/src/Model/WorkflowJobPipelineJsonldRead.php +++ /dev/null @@ -1,178 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $runtime; - /** - * @var PipelineStepJsonldRead[]|null - */ - protected $steps; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getRuntime(): ?array - { - return $this->runtime; - } - - /** - * @param string[]|null $runtime - */ - public function setRuntime(?array $runtime): self - { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; - - return $this; - } - - /** - * @return PipelineStepJsonldRead[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param PipelineStepJsonldRead[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/WorkflowJobPipelinePipelineRead.php b/src/Model/WorkflowJobPipelinePipelineRead.php new file mode 100644 index 00000000..92ebd570 --- /dev/null +++ b/src/Model/WorkflowJobPipelinePipelineRead.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string|null + */ + protected $job; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $steps; + + public function getJob(): ?string + { + return $this->job; + } + + public function setJob(?string $job): self + { + $this->initialized['job'] = true; + $this->job = $job; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->initialized['steps'] = true; + $this->steps = $steps; + + return $this; + } +} diff --git a/src/Model/WorkflowJobPipelineRead.php b/src/Model/WorkflowJobPipelineRead.php deleted file mode 100644 index fa3741c8..00000000 --- a/src/Model/WorkflowJobPipelineRead.php +++ /dev/null @@ -1,121 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $runtime; - /** - * @var PipelineStepRead[]|null - */ - protected $steps; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getRuntime(): ?array - { - return $this->runtime; - } - - /** - * @param string[]|null $runtime - */ - public function setRuntime(?array $runtime): self - { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; - - return $this; - } - - /** - * @return PipelineStepRead[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param PipelineStepRead[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->initialized['steps'] = true; - $this->steps = $steps; - - return $this; - } -} diff --git a/src/Model/WorkflowJobRead.php b/src/Model/WorkflowJobRead.php deleted file mode 100644 index 42bcd0ff..00000000 --- a/src/Model/WorkflowJobRead.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var WorkflowRead|null - */ - protected $workflow; - /** - * @var WorkflowJobPipelineRead|null - */ - protected $pipeline; - /** - * @var WorkflowJobActionRead|null - */ - protected $action; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getWorkflow(): ?WorkflowRead - { - return $this->workflow; - } - - public function setWorkflow(?WorkflowRead $workflow): self - { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; - - return $this; - } - - public function getPipeline(): ?WorkflowJobPipelineRead - { - return $this->pipeline; - } - - public function setPipeline(?WorkflowJobPipelineRead $pipeline): self - { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; - - return $this; - } - - public function getAction(): ?WorkflowJobActionRead - { - return $this->action; - } - - public function setAction(?WorkflowJobActionRead $action): self - { - $this->initialized['action'] = true; - $this->action = $action; - - return $this; - } -} diff --git a/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInput.php b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInput.php new file mode 100644 index 00000000..bfeb1e1b --- /dev/null +++ b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInput.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string[]|null + */ + protected $codes; + + /** + * @return string[]|null + */ + public function getCodes(): ?array + { + return $this->codes; + } + + /** + * @param string[]|null $codes + */ + public function setCodes(?array $codes): self + { + $this->initialized['codes'] = true; + $this->codes = $codes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld.php b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld.php new file mode 100644 index 00000000..7a0c5ecb --- /dev/null +++ b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string[]|null + */ + protected $codes; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + /** + * @return string[]|null + */ + public function getCodes(): ?array + { + return $this->codes; + } + + /** + * @param string[]|null $codes + */ + public function setCodes(?array $codes): self + { + $this->initialized['codes'] = true; + $this->codes = $codes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead.php b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead.php new file mode 100644 index 00000000..c520f75b --- /dev/null +++ b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInput.php b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInput.php new file mode 100644 index 00000000..43f22716 --- /dev/null +++ b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInput.php @@ -0,0 +1,98 @@ +initialized); + } + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var Probe[]|null + */ + protected $probes; + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return Probe[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param Probe[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld.php new file mode 100644 index 00000000..077cf244 --- /dev/null +++ b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld.php @@ -0,0 +1,149 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $configuration; + /** + * @var ProbeJsonld[]|null + */ + protected $probes; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getConfiguration(): ?iterable + { + return $this->configuration; + } + + /** + * @param string[]|null $configuration + */ + public function setConfiguration(?iterable $configuration): self + { + $this->initialized['configuration'] = true; + $this->configuration = $configuration; + + return $this; + } + + /** + * @return ProbeJsonld[]|null + */ + public function getProbes(): ?array + { + return $this->probes; + } + + /** + * @param ProbeJsonld[]|null $probes + */ + public function setProbes(?array $probes): self + { + $this->initialized['probes'] = true; + $this->probes = $probes; + + return $this; + } +} diff --git a/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead.php b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead.php new file mode 100644 index 00000000..8e1d9c82 --- /dev/null +++ b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowJsonldRead.php b/src/Model/WorkflowJsonldRead.php deleted file mode 100644 index ee37670f..00000000 --- a/src/Model/WorkflowJsonldRead.php +++ /dev/null @@ -1,298 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; - /** - * @var bool|null - */ - protected $isSoftDeleted; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $autoload; - /** - * @var string[]|null - */ - protected $packages; - /** - * @var string[]|null - */ - protected $repositories; - /** - * @var string[]|null - */ - protected $auths; - /** - * @var \DateTime|null - */ - protected $compiledAt; - /** - * @var int|null - */ - protected $currentVersion; - /** - * @var WorkflowJobJsonldRead[]|null - */ - protected $jobs; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getIsSoftDeleted(): ?bool - { - return $this->isSoftDeleted; - } - - public function setIsSoftDeleted(?bool $isSoftDeleted): self - { - $this->initialized['isSoftDeleted'] = true; - $this->isSoftDeleted = $isSoftDeleted; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAutoload(): ?array - { - return $this->autoload; - } - - /** - * @param string[]|null $autoload - */ - public function setAutoload(?array $autoload): self - { - $this->initialized['autoload'] = true; - $this->autoload = $autoload; - - return $this; - } - - /** - * @return string[]|null - */ - public function getPackages(): ?array - { - return $this->packages; - } - - /** - * @param string[]|null $packages - */ - public function setPackages(?array $packages): self - { - $this->initialized['packages'] = true; - $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->initialized['repositories'] = true; - $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->initialized['auths'] = true; - $this->auths = $auths; - - return $this; - } - - public function getCompiledAt(): ?\DateTime - { - return $this->compiledAt; - } - - public function setCompiledAt(?\DateTime $compiledAt): self - { - $this->initialized['compiledAt'] = true; - $this->compiledAt = $compiledAt; - - return $this; - } - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } - - /** - * @return WorkflowJobJsonldRead[]|null - */ - public function getJobs(): ?array - { - return $this->jobs; - } - - /** - * @param WorkflowJobJsonldRead[]|null $jobs - */ - public function setJobs(?array $jobs): self - { - $this->initialized['jobs'] = true; - $this->jobs = $jobs; - - return $this; - } -} diff --git a/src/Model/WorkflowJsonldWorkflowRead.php b/src/Model/WorkflowJsonldWorkflowRead.php new file mode 100644 index 00000000..68dd6578 --- /dev/null +++ b/src/Model/WorkflowJsonldWorkflowRead.php @@ -0,0 +1,360 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id2; + /** + * @var bool|null + */ + protected $isSoftDeleted; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; + /** + * @var \DateTime|null + */ + protected $compiledAt; + /** + * @var string|null + */ + protected $owner; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var string[]|null + */ + protected $jobs; + /** + * @var string[]|null + */ + protected $templatePictograms; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getIsSoftDeleted(): ?bool + { + return $this->isSoftDeleted; + } + + public function setIsSoftDeleted(?bool $isSoftDeleted): self + { + $this->initialized['isSoftDeleted'] = true; + $this->isSoftDeleted = $isSoftDeleted; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAutoload(): ?array + { + return $this->autoload; + } + + /** + * @param string[]|null $autoload + */ + public function setAutoload(?array $autoload): self + { + $this->initialized['autoload'] = true; + $this->autoload = $autoload; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->initialized['packages'] = true; + $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->initialized['repositories'] = true; + $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->initialized['auths'] = true; + $this->auths = $auths; + + return $this; + } + + public function getCompiledAt(): ?\DateTime + { + return $this->compiledAt; + } + + public function setCompiledAt(?\DateTime $compiledAt): self + { + $this->initialized['compiledAt'] = true; + $this->compiledAt = $compiledAt; + + return $this; + } + + public function getOwner(): ?string + { + return $this->owner; + } + + public function setOwner(?string $owner): self + { + $this->initialized['owner'] = true; + $this->owner = $owner; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + /** + * @return string[]|null + */ + public function getJobs(): ?array + { + return $this->jobs; + } + + /** + * @param string[]|null $jobs + */ + public function setJobs(?array $jobs): self + { + $this->initialized['jobs'] = true; + $this->jobs = $jobs; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplatePictograms(): ?array + { + return $this->templatePictograms; + } + + /** + * @param string[]|null $templatePictograms + */ + public function setTemplatePictograms(?array $templatePictograms): self + { + $this->initialized['templatePictograms'] = true; + $this->templatePictograms = $templatePictograms; + + return $this; + } +} diff --git a/src/Model/WorkflowRead.php b/src/Model/WorkflowRead.php deleted file mode 100644 index c9d3d25b..00000000 --- a/src/Model/WorkflowRead.php +++ /dev/null @@ -1,241 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isSoftDeleted; - /** - * @var string|null - */ - protected $code; - /** - * @var string|null - */ - protected $label; - /** - * @var string[]|null - */ - protected $autoload; - /** - * @var string[]|null - */ - protected $packages; - /** - * @var string[]|null - */ - protected $repositories; - /** - * @var string[]|null - */ - protected $auths; - /** - * @var \DateTime|null - */ - protected $compiledAt; - /** - * @var int|null - */ - protected $currentVersion; - /** - * @var WorkflowJobRead[]|null - */ - protected $jobs; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsSoftDeleted(): ?bool - { - return $this->isSoftDeleted; - } - - public function setIsSoftDeleted(?bool $isSoftDeleted): self - { - $this->initialized['isSoftDeleted'] = true; - $this->isSoftDeleted = $isSoftDeleted; - - return $this; - } - - public function getCode(): ?string - { - return $this->code; - } - - public function setCode(?string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAutoload(): ?array - { - return $this->autoload; - } - - /** - * @param string[]|null $autoload - */ - public function setAutoload(?array $autoload): self - { - $this->initialized['autoload'] = true; - $this->autoload = $autoload; - - return $this; - } - - /** - * @return string[]|null - */ - public function getPackages(): ?array - { - return $this->packages; - } - - /** - * @param string[]|null $packages - */ - public function setPackages(?array $packages): self - { - $this->initialized['packages'] = true; - $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->initialized['repositories'] = true; - $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->initialized['auths'] = true; - $this->auths = $auths; - - return $this; - } - - public function getCompiledAt(): ?\DateTime - { - return $this->compiledAt; - } - - public function setCompiledAt(?\DateTime $compiledAt): self - { - $this->initialized['compiledAt'] = true; - $this->compiledAt = $compiledAt; - - return $this; - } - - public function getCurrentVersion(): ?int - { - return $this->currentVersion; - } - - public function setCurrentVersion(?int $currentVersion): self - { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; - - return $this; - } - - /** - * @return WorkflowJobRead[]|null - */ - public function getJobs(): ?array - { - return $this->jobs; - } - - /** - * @param WorkflowJobRead[]|null $jobs - */ - public function setJobs(?array $jobs): self - { - $this->initialized['jobs'] = true; - $this->jobs = $jobs; - - return $this; - } -} diff --git a/src/Model/WorkflowRemoveWorkflowCommandInputJsonld.php b/src/Model/WorkflowRemoveWorkflowCommandInputJsonld.php index bf8da432..42bdd4ec 100644 --- a/src/Model/WorkflowRemoveWorkflowCommandInputJsonld.php +++ b/src/Model/WorkflowRemoveWorkflowCommandInputJsonld.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; class WorkflowRemoveWorkflowCommandInputJsonld extends \ArrayObject @@ -19,7 +13,7 @@ class WorkflowRemoveWorkflowCommandInputJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -34,17 +28,11 @@ public function isInitialized($property): bool */ protected $type; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; diff --git a/src/Model/WorkflowRemoveWorkflowCommandJsonldRead.php b/src/Model/WorkflowRemoveWorkflowCommandJsonldRead.php deleted file mode 100644 index 9068f7a9..00000000 --- a/src/Model/WorkflowRemoveWorkflowCommandJsonldRead.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/src/Model/WorkflowRemoveWorkflowCommandJsonldWorkflowRead.php b/src/Model/WorkflowRemoveWorkflowCommandJsonldWorkflowRead.php new file mode 100644 index 00000000..1f13c1db --- /dev/null +++ b/src/Model/WorkflowRemoveWorkflowCommandJsonldWorkflowRead.php @@ -0,0 +1,69 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/WorkflowWorkflowRead.php b/src/Model/WorkflowWorkflowRead.php new file mode 100644 index 00000000..ba399904 --- /dev/null +++ b/src/Model/WorkflowWorkflowRead.php @@ -0,0 +1,309 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var bool|null + */ + protected $isSoftDeleted; + /** + * @var string|null + */ + protected $code; + /** + * @var string|null + */ + protected $label; + /** + * @var string[]|null + */ + protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; + /** + * @var \DateTime|null + */ + protected $compiledAt; + /** + * @var string|null + */ + protected $owner; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var string[]|null + */ + protected $jobs; + /** + * @var string[]|null + */ + protected $templatePictograms; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getIsSoftDeleted(): ?bool + { + return $this->isSoftDeleted; + } + + public function setIsSoftDeleted(?bool $isSoftDeleted): self + { + $this->initialized['isSoftDeleted'] = true; + $this->isSoftDeleted = $isSoftDeleted; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAutoload(): ?array + { + return $this->autoload; + } + + /** + * @param string[]|null $autoload + */ + public function setAutoload(?array $autoload): self + { + $this->initialized['autoload'] = true; + $this->autoload = $autoload; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->initialized['packages'] = true; + $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->initialized['repositories'] = true; + $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->initialized['auths'] = true; + $this->auths = $auths; + + return $this; + } + + public function getCompiledAt(): ?\DateTime + { + return $this->compiledAt; + } + + public function setCompiledAt(?\DateTime $compiledAt): self + { + $this->initialized['compiledAt'] = true; + $this->compiledAt = $compiledAt; + + return $this; + } + + public function getOwner(): ?string + { + return $this->owner; + } + + public function setOwner(?string $owner): self + { + $this->initialized['owner'] = true; + $this->owner = $owner; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->initialized['workspace'] = true; + $this->workspace = $workspace; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getCurrentVersion(): ?int + { + return $this->currentVersion; + } + + public function setCurrentVersion(?int $currentVersion): self + { + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; + + return $this; + } + + /** + * @return string[]|null + */ + public function getJobs(): ?array + { + return $this->jobs; + } + + /** + * @param string[]|null $jobs + */ + public function setJobs(?array $jobs): self + { + $this->initialized['jobs'] = true; + $this->jobs = $jobs; + + return $this; + } + + /** + * @return string[]|null + */ + public function getTemplatePictograms(): ?array + { + return $this->templatePictograms; + } + + /** + * @param string[]|null $templatePictograms + */ + public function setTemplatePictograms(?array $templatePictograms): self + { + $this->initialized['templatePictograms'] = true; + $this->templatePictograms = $templatePictograms; + + return $this; + } +} diff --git a/src/Model/Workspace.php b/src/Model/Workspace.php deleted file mode 100644 index 705e1e17..00000000 --- a/src/Model/Workspace.php +++ /dev/null @@ -1,155 +0,0 @@ -initialized); - } - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $organization; - /** - * @var Region|null - */ - protected $region; - /** - * @var string[]|null - */ - protected $authorizations; - /** - * @var string[]|null - */ - protected $users; - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getRegion(): ?Region - { - return $this->region; - } - - public function setRegion(?Region $region): self - { - $this->initialized['region'] = true; - $this->region = $region; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } - - /** - * @return string[]|null - */ - public function getUsers(): ?array - { - return $this->users; - } - - /** - * @param string[]|null $users - */ - public function setUsers(?array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } -} diff --git a/src/Model/WorkspaceJsonld.php b/src/Model/WorkspaceJsonld.php deleted file mode 100644 index 0472af6e..00000000 --- a/src/Model/WorkspaceJsonld.php +++ /dev/null @@ -1,212 +0,0 @@ -initialized); - } - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $slug; - /** - * @var string|null - */ - protected $organization; - /** - * @var RegionJsonld|null - */ - protected $region; - /** - * @var string[]|null - */ - protected $authorizations; - /** - * @var string[]|null - */ - protected $users; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->initialized['id2'] = true; - $this->id2 = $id2; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getSlug(): ?string - { - return $this->slug; - } - - public function setSlug(?string $slug): self - { - $this->initialized['slug'] = true; - $this->slug = $slug; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->initialized['organization'] = true; - $this->organization = $organization; - - return $this; - } - - public function getRegion(): ?RegionJsonld - { - return $this->region; - } - - public function setRegion(?RegionJsonld $region): self - { - $this->initialized['region'] = true; - $this->region = $region; - - return $this; - } - - /** - * @return string[]|null - */ - public function getAuthorizations(): ?array - { - return $this->authorizations; - } - - /** - * @param string[]|null $authorizations - */ - public function setAuthorizations(?array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } - - /** - * @return string[]|null - */ - public function getUsers(): ?array - { - return $this->users; - } - - /** - * @param string[]|null $users - */ - public function setUsers(?array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } -} diff --git a/src/Model/WorkspaceJsonldWorkspaceRead.php b/src/Model/WorkspaceJsonldWorkspaceRead.php new file mode 100644 index 00000000..96b01041 --- /dev/null +++ b/src/Model/WorkspaceJsonldWorkspaceRead.php @@ -0,0 +1,183 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $id2; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $authorizations; + /** + * @var string[]|null + */ + protected $users; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->initialized['id2'] = true; + $this->id2 = $id2; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } + + /** + * @return string[]|null + */ + public function getUsers(): ?array + { + return $this->users; + } + + /** + * @param string[]|null $users + */ + public function setUsers(?array $users): self + { + $this->initialized['users'] = true; + $this->users = $users; + + return $this; + } +} diff --git a/src/Model/WorkspaceJsonldWorkspaceWrite.php b/src/Model/WorkspaceJsonldWorkspaceWrite.php new file mode 100644 index 00000000..37a97b3d --- /dev/null +++ b/src/Model/WorkspaceJsonldWorkspaceWrite.php @@ -0,0 +1,103 @@ +initialized); + } + /** + * @var mixed|null + */ + protected $context; + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $type; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $organization; + + public function getContext() + { + return $this->context; + } + + public function setContext($context): self + { + $this->initialized['context'] = true; + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } +} diff --git a/src/Model/WorkspaceWorkspaceRead.php b/src/Model/WorkspaceWorkspaceRead.php new file mode 100644 index 00000000..a7be049c --- /dev/null +++ b/src/Model/WorkspaceWorkspaceRead.php @@ -0,0 +1,132 @@ +initialized); + } + /** + * @var string|null + */ + protected $id; + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $slug; + /** + * @var string|null + */ + protected $organization; + /** + * @var string[]|null + */ + protected $authorizations; + /** + * @var string[]|null + */ + protected $users; + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->initialized['slug'] = true; + $this->slug = $slug; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array + { + return $this->authorizations; + } + + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self + { + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; + + return $this; + } + + /** + * @return string[]|null + */ + public function getUsers(): ?array + { + return $this->users; + } + + /** + * @param string[]|null $users + */ + public function setUsers(?array $users): self + { + $this->initialized['users'] = true; + $this->users = $users; + + return $this; + } +} diff --git a/src/Model/WorkspaceWorkspaceWrite.php b/src/Model/WorkspaceWorkspaceWrite.php new file mode 100644 index 00000000..88a5ccc2 --- /dev/null +++ b/src/Model/WorkspaceWorkspaceWrite.php @@ -0,0 +1,52 @@ +initialized); + } + /** + * @var string|null + */ + protected $name; + /** + * @var string|null + */ + protected $organization; + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } +} diff --git a/src/Normalizer/AbstractCloudEngineJsonldNormalizer.php b/src/Normalizer/AbstractCloudEngineJsonldNormalizer.php deleted file mode 100644 index 76432d4c..00000000 --- a/src/Normalizer/AbstractCloudEngineJsonldNormalizer.php +++ /dev/null @@ -1,119 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('environments', $data) && $data['environments'] !== null) { - $values = []; - foreach ($data['environments'] as $value) { - $values[] = $value; - } - $object->setEnvironments($values); - unset($data['environments']); - } elseif (\array_key_exists('environments', $data) && $data['environments'] === null) { - $object->setEnvironments(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('environments') && null !== $object->getEnvironments()) { - $values = []; - foreach ($object->getEnvironments() as $value) { - $values[] = $value; - } - $data['environments'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/AbstractCloudEngineNormalizer.php b/src/Normalizer/AbstractCloudEngineNormalizer.php deleted file mode 100644 index fbb9f045..00000000 --- a/src/Normalizer/AbstractCloudEngineNormalizer.php +++ /dev/null @@ -1,101 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('environments', $data) && $data['environments'] !== null) { - $values = []; - foreach ($data['environments'] as $value) { - $values[] = $value; - } - $object->setEnvironments($values); - unset($data['environments']); - } elseif (\array_key_exists('environments', $data) && $data['environments'] === null) { - $object->setEnvironments(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('environments') && null !== $object->getEnvironments()) { - $values = []; - foreach ($object->getEnvironments() as $value) { - $values[] = $value; - } - $data['environments'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/AbstractPipelineJobReadNormalizer.php b/src/Normalizer/AbstractPipelineJobReadNormalizer.php new file mode 100644 index 00000000..3db2d4e7 --- /dev/null +++ b/src/Normalizer/AbstractPipelineJobReadNormalizer.php @@ -0,0 +1,100 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJobRead', 'json', $context); + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AbstractPipelineJsonldExecutionPipelineStepReadNormalizer.php b/src/Normalizer/AbstractPipelineJsonldExecutionPipelineStepReadNormalizer.php new file mode 100644 index 00000000..f762772b --- /dev/null +++ b/src/Normalizer/AbstractPipelineJsonldExecutionPipelineStepReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AbstractPipelineJsonldJobReadNormalizer.php b/src/Normalizer/AbstractPipelineJsonldJobReadNormalizer.php new file mode 100644 index 00000000..9fe7f8e9 --- /dev/null +++ b/src/Normalizer/AbstractPipelineJsonldJobReadNormalizer.php @@ -0,0 +1,118 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJsonldJobRead', 'json', $context); + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AbstractPipelineJsonldNormalizer.php b/src/Normalizer/AbstractPipelineJsonldNormalizer.php deleted file mode 100644 index 2e3b92ad..00000000 --- a/src/Normalizer/AbstractPipelineJsonldNormalizer.php +++ /dev/null @@ -1,119 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values = []; - foreach ($data['steps'] as $value) { - $values[] = $value; - } - $object->setSteps($values); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $value; - } - $data['steps'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/AbstractPipelineJsonldStepReadNormalizer.php b/src/Normalizer/AbstractPipelineJsonldStepReadNormalizer.php new file mode 100644 index 00000000..58870194 --- /dev/null +++ b/src/Normalizer/AbstractPipelineJsonldStepReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AbstractPipelineNormalizer.php b/src/Normalizer/AbstractPipelineNormalizer.php deleted file mode 100644 index 163d16e8..00000000 --- a/src/Normalizer/AbstractPipelineNormalizer.php +++ /dev/null @@ -1,101 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values = []; - foreach ($data['steps'] as $value) { - $values[] = $value; - } - $object->setSteps($values); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $value; - } - $data['steps'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ActionActionReadNormalizer.php b/src/Normalizer/ActionActionReadNormalizer.php new file mode 100644 index 00000000..e753e313 --- /dev/null +++ b/src/Normalizer/ActionActionReadNormalizer.php @@ -0,0 +1,104 @@ +setId($data['id']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; + foreach ($data['configuration'] as $value) { + $values[] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value) { + $values[] = $value; + } + $data['configuration'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ActionJsonldActionReadNormalizer.php b/src/Normalizer/ActionJsonldActionReadNormalizer.php new file mode 100644 index 00000000..88863bac --- /dev/null +++ b/src/Normalizer/ActionJsonldActionReadNormalizer.php @@ -0,0 +1,122 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; + foreach ($data['configuration'] as $value) { + $values[] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value) { + $values[] = $value; + } + $data['configuration'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ActionJsonldNormalizer.php b/src/Normalizer/ActionJsonldNormalizer.php index 203ed074..f5d46201 100644 --- a/src/Normalizer/ActionJsonldNormalizer.php +++ b/src/Normalizer/ActionJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ActionJsonldNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ActionJsonld'; + return 'Gyroscops\\Api\\Model\\ActionJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ActionJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ActionJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values[$key] = $value; } $object->setConfiguration($values); unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key_1 => $value_1) { diff --git a/src/Normalizer/ActionJsonldReadNormalizer.php b/src/Normalizer/ActionJsonldReadNormalizer.php deleted file mode 100644 index a658abca..00000000 --- a/src/Normalizer/ActionJsonldReadNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ActionNormalizer.php b/src/Normalizer/ActionNormalizer.php index a21f8f48..04b20be4 100644 --- a/src/Normalizer/ActionNormalizer.php +++ b/src/Normalizer/ActionNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ActionNormalizer implements DenormalizerInterface, NormalizerInterface, De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Action'; + return 'Gyroscops\\Api\\Model\\Action' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Action'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Action' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,14 +43,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values[$key] = $value; } $object->setConfiguration($values); unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key_1 => $value_1) { diff --git a/src/Normalizer/ActionReadNormalizer.php b/src/Normalizer/ActionReadNormalizer.php deleted file mode 100644 index c19d0fef..00000000 --- a/src/Normalizer/ActionReadNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php index bd2531aa..895160f1 100644 --- a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoInstanceAkeneoInstanceInputJsonldNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld'; + return 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('pimUrl', $data) && $data['pimUrl'] !== null) { + if (\array_key_exists('pimUrl', $data) && null !== $data['pimUrl']) { $object->setPimUrl($data['pimUrl']); unset($data['pimUrl']); - } elseif (\array_key_exists('pimUrl', $data) && $data['pimUrl'] === null) { + } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { $object->setPimUrl(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\CreateSecretInputJsonld', 'json', $context)); unset($data['secret']); - } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php index f1ec8da1..656d12f5 100644 --- a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoInstanceAkeneoInstanceInputNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput'; + return 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pimUrl', $data) && $data['pimUrl'] !== null) { + if (\array_key_exists('pimUrl', $data) && null !== $data['pimUrl']) { $object->setPimUrl($data['pimUrl']); unset($data['pimUrl']); - } elseif (\array_key_exists('pimUrl', $data) && $data['pimUrl'] === null) { + } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { $object->setPimUrl(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\CreateSecretInput', 'json', $context)); unset($data['secret']); - } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php index b4b9d358..aabfcf9d 100644 --- a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php +++ b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoInstanceJsonldNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld'; + return 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,72 +43,72 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); unset($data['secret']); - } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } - if (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] !== null) { + if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { $values = []; foreach ($data['linkedAccounts'] as $value) { $values[] = $value; } $object->setLinkedAccounts($values); unset($data['linkedAccounts']); - } elseif (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] === null) { + } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { $object->setLinkedAccounts(null); } - if (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] !== null) { + if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { $values_1 = []; foreach ($data['oauthTokens'] as $value_1) { $values_1[] = $value_1; } $object->setOauthTokens($values_1); unset($data['oauthTokens']); - } elseif (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] === null) { + } elseif (\array_key_exists('oauthTokens', $data) && null === $data['oauthTokens']) { $object->setOauthTokens(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/AkeneoInstanceNormalizer.php b/src/Normalizer/AkeneoInstanceNormalizer.php index d2806f28..d26fe0b3 100644 --- a/src/Normalizer/AkeneoInstanceNormalizer.php +++ b/src/Normalizer/AkeneoInstanceNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoInstanceNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoInstance'; + return 'Gyroscops\\Api\\Model\\AkeneoInstance' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoInstance'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstance' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,54 +43,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) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); unset($data['secret']); - } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } - if (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] !== null) { + if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { $values = []; foreach ($data['linkedAccounts'] as $value) { $values[] = $value; } $object->setLinkedAccounts($values); unset($data['linkedAccounts']); - } elseif (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] === null) { + } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { $object->setLinkedAccounts(null); } - if (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] !== null) { + if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { $values_1 = []; foreach ($data['oauthTokens'] as $value_1) { $values_1[] = $value_1; } $object->setOauthTokens($values_1); unset($data['oauthTokens']); - } elseif (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] === null) { + } elseif (\array_key_exists('oauthTokens', $data) && null === $data['oauthTokens']) { $object->setOauthTokens(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php index 25a34dd0..f0cb9ec0 100644 --- a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld'; + return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,46 +43,46 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); unset($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { $object->setAkeneoInstance(null); } - if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); unset($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); unset($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && $data['token'] !== null) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + } elseif (\array_key_exists('token', $data) && null === $data['token']) { $object->setToken(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php index bda974d3..82f146c1 100644 --- a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput'; + return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); unset($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { $object->setAkeneoInstance(null); } - if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); unset($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); unset($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && $data['token'] !== null) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + } elseif (\array_key_exists('token', $data) && null === $data['token']) { $object->setToken(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php index 58dac2e4..16d7ae7a 100644 --- a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoLinkedAccountJsonldNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld'; + return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,58 +43,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) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); unset($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); unset($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && $data['token'] !== null) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + } elseif (\array_key_exists('token', $data) && null === $data['token']) { $object->setToken(null); } - if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); unset($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { $object->setAkeneoInstance(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoLinkedAccountNormalizer.php b/src/Normalizer/AkeneoLinkedAccountNormalizer.php index c88b1ea6..44c8fb46 100644 --- a/src/Normalizer/AkeneoLinkedAccountNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoLinkedAccountNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount'; + return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); unset($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); unset($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && $data['token'] !== null) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + } elseif (\array_key_exists('token', $data) && null === $data['token']) { $object->setToken(null); } - if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); unset($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { $object->setAkeneoInstance(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php index 1338ed20..ae81ebf0 100644 --- a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenJsonldReadNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,50 +43,50 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('scopes', $data) && $data['scopes'] !== null) { + if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } $object->setScopes($values); unset($data['scopes']); - } elseif (\array_key_exists('scopes', $data) && $data['scopes'] === null) { + } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { $object->setScopes(null); } - if (\array_key_exists('responseType', $data) && $data['responseType'] !== null) { + if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { $object->setResponseType($data['responseType']); unset($data['responseType']); - } elseif (\array_key_exists('responseType', $data) && $data['responseType'] === null) { + } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { $object->setResponseType(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php index dd89f17f..d15e1d04 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenOauthStateInputJsonldNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,38 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('scope', $data) && $data['scope'] !== null) { + if (\array_key_exists('scope', $data) && null !== $data['scope']) { $values = []; foreach ($data['scope'] as $value) { $values[] = $value; } $object->setScope($values); unset($data['scope']); - } elseif (\array_key_exists('scope', $data) && $data['scope'] === null) { + } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { $object->setScope(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php index 19125ff5..8f5c0f17 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenOauthStateInputNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,20 +43,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('scope', $data) && $data['scope'] !== null) { + if (\array_key_exists('scope', $data) && null !== $data['scope']) { $values = []; foreach ($data['scope'] as $value) { $values[] = $value; } $object->setScope($values); unset($data['scope']); - } elseif (\array_key_exists('scope', $data) && $data['scope'] === null) { + } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { $object->setScope(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php index 990bd2ac..6ed723cc 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php index 56874505..4929fccc 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenOauthTokenInputJsonldNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('state', $data) && $data['state'] !== null) { + if (\array_key_exists('state', $data) && null !== $data['state']) { $object->setState($data['state']); unset($data['state']); - } elseif (\array_key_exists('state', $data) && $data['state'] === null) { + } elseif (\array_key_exists('state', $data) && null === $data['state']) { $object->setState(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php index 33895480..88790d56 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenOauthTokenInputNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('state', $data) && $data['state'] !== null) { + if (\array_key_exists('state', $data) && null !== $data['state']) { $object->setState($data['state']); unset($data['state']); - } elseif (\array_key_exists('state', $data) && $data['state'] === null) { + } elseif (\array_key_exists('state', $data) && null === $data['state']) { $object->setState(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php index 984e248a..880479f5 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,16 +43,16 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php index 912aaf10..668b1c1b 100644 --- a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AkeneoOauthTokenReadNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('scopes', $data) && $data['scopes'] !== null) { + if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } $object->setScopes($values); unset($data['scopes']); - } elseif (\array_key_exists('scopes', $data) && $data['scopes'] === null) { + } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { $object->setScopes(null); } - if (\array_key_exists('responseType', $data) && $data['responseType'] !== null) { + if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { $object->setResponseType($data['responseType']); unset($data['responseType']); - } elseif (\array_key_exists('responseType', $data) && $data['responseType'] === null) { + } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { $object->setResponseType(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 9c9ad99c..89caba80 100644 --- a/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchNormalizer.php index 0918e765..2ff6894c 100644 --- a/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationMeGetLdjsonResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraViewNormalizer.php index fddb3301..8c5b84bd 100644 --- a/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationMeGetLdjsonResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationMeGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationMeGetLdjsonResponse200Normalizer.php index d821e232..8839dd91 100644 --- a/src/Normalizer/AuthenticationMeGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationMeGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationMeGetLdjsonResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserJsonldUserRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index d0dc5e42..39d910f1 100644 --- a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingIt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php index 582387ee..840ec01c 100644 --- a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchNormalizer imp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraViewNormalizer.php index f216a6e6..564e6e6e 100644 --- a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200HydraViewNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200Normalizer.php index e8be4f9c..dd8850e0 100644 --- a/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOffersIdOptionsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOffersIdOptionsGetLdjsonResponse200Normalizer implements Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OptionJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 5f7a93e1..3536de06 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php index efdfdfd5..7845ecda 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsGetLdjsonResponse200HydraSearchNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraViewNormalizer.php index 4bb6a1c0..329ec5c8 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsGetLdjsonResponse200HydraViewNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200Normalizer.php index 79846e32..4e63be9c 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsGetLdjsonResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\OrganizationJsonldOrganizationRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 3615375a..558bf807 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php index 9c3ba762..534b467a 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php index 73398d04..9d181059 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraViewNo public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200Normalizer.php index 6986453e..ea4247cf 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200Normalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserAuthorizationJsonldAuthorizationRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 3fa3febc..77872cd2 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Hydr public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchNormalizer.php index f1c811d3..2aa79351 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Hydr public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraViewNormalizer.php index 7ba15043..b4804b0b 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Hydr public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Normalizer.php index 8a60e96a..16b144b8 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Norm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserJsonldUserRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index a2b8e71e..3dda0c13 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMapp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchNormalizer.php index 34d7e7cd..c7fa0455 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchNormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraViewNormalizer.php index 951a8a0c..e8f634f1 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraViewNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200Normalizer.php index 10622fab..7333688a 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdUsersGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdUsersGetLdjsonResponse200Normalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserJsonldUserRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index cf0dc335..46091880 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydr public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php index 77b054a3..58faebb1 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchNorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php index 28504c66..29b3267c 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraViewNormal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200Normalizer.php index bdcece13..b1c669ce 100644 --- a/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200Normalizer impl public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\WorkspaceJsonldWorkspaceRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 9b3f26e4..b2d392db 100644 --- a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappin public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchNormalizer.php index 02fe1aaa..f98a0c92 100644 --- a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraViewNormalizer.php index 83a00a11..e6e5f067 100644 --- a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200HydraViewNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200Normalizer.php index e0885d97..4c501cbd 100644 --- a/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionOffersGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionOffersGetLdjsonResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 90460579..7637ac98 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchNormalizer.php index e0f89cb8..f4c3b1a0 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraViewNormalizer.php index df10ed07..2119dbf1 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsGetLdjsonResponse200HydraViewNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200Normalizer.php index 613be06b..2c51a546 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsGetLdjsonResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 6ef3fda4..1599360b 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php index 1dcf3df1..4f6b0263 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchNormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraViewNormalizer.php index b3ece0bb..61651efd 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraViewNormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200Normalizer.php index e193397e..2712ccb9 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200Normalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index cf41c5f3..4adf18ac 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappin public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php index 7feb89fd..a57947ae 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php index 92be9b60..d589e74f 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200HydraViewNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200Normalizer.php index af64cf74..3ff1e313 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUserAuthorizationsGetLdjsonResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserAuthorizationJsonldAuthorizationRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 0e80331f..fa999cbf 100644 --- a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchNormalizer.php index 786fea8f..b0f53b77 100644 --- a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUsersGetLdjsonResponse200HydraSearchNormalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraViewNormalizer.php index b5882099..6010e999 100644 --- a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUsersGetLdjsonResponse200HydraViewNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200Normalizer.php index c8c1a831..6d93f287 100644 --- a/src/Normalizer/AuthenticationUsersGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUsersGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationUsersGetLdjsonResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserJsonldUserRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..dd5fbe45 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,105 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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']); + unset($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('variable') && null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if ($object->isInitialized('property') && null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if ($object->isInitialized('required') && null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..0b12f337 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -0,0 +1,113 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + unset($data['hydra:mapping']); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..3eeca8ac --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -0,0 +1,123 @@ +setId($data['@id']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer.php new file mode 100644 index 00000000..a125b4ab --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer.php @@ -0,0 +1,111 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead', 'json', $context); + } + $object->setHydraMember($values); + unset($data['hydra:member']); + } 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']); + unset($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\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView', 'json', $context)); + unset($data['hydra:view']); + } 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\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch', 'json', $context)); + unset($data['hydra:search']); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..b5545133 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,105 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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']); + unset($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('variable') && null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if ($object->isInitialized('property') && null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if ($object->isInitialized('required') && null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..bb4f107b --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -0,0 +1,113 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + unset($data['hydra:mapping']); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..bd454026 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -0,0 +1,123 @@ +setId($data['@id']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer.php new file mode 100644 index 00000000..1a4dbfe9 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer.php @@ -0,0 +1,111 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead', 'json', $context); + } + $object->setHydraMember($values); + unset($data['hydra:member']); + } 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']); + unset($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\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView', 'json', $context)); + unset($data['hydra:view']); + } 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\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch', 'json', $context)); + unset($data['hydra:search']); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..3eff8593 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,105 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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']); + unset($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('variable') && null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if ($object->isInitialized('property') && null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if ($object->isInitialized('required') && null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..0b2282ff --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php @@ -0,0 +1,113 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + unset($data['hydra:mapping']); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..5eeab693 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php @@ -0,0 +1,123 @@ +setId($data['@id']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200Normalizer.php new file mode 100644 index 00000000..4cddcb15 --- /dev/null +++ b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200Normalizer.php @@ -0,0 +1,111 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead', 'json', $context); + } + $object->setHydraMember($values); + unset($data['hydra:member']); + } 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']); + unset($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\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView', 'json', $context)); + unset($data['hydra:view']); + } 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\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch', 'json', $context)); + unset($data['hydra:search']); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 54016bdb..9547926c 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php index 377ebafd..1cf260ac 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesGetLdjsonResponse200HydraSearchNormalizer implemen public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraViewNormalizer.php index 0cddff0d..47b4a9ee 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesGetLdjsonResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200Normalizer.php index a40be040..c9e65818 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesGetLdjsonResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\WorkspaceJsonldWorkspaceRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 529180ea..dc07775f 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHyd public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php index b37d6084..9c18e092 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchNor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php index b9e027fe..bb760cd9 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraViewNorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200Normalizer.php index 498ca8d2..8a6b97e3 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200Normalizer imp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserAuthorizationJsonldAuthorizationRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index aaae97c9..9255cd1d 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMapping public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchNormalizer.php index 579e1670..d89dc2da 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchNormalizer i public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraViewNormalizer.php index 2f3acfc0..4d25a4ec 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraViewNormalizer imp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200Normalizer.php index 32192771..10a44f13 100644 --- a/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesIdUsersGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class AuthenticationWorkspacesIdUsersGetLdjsonResponse200Normalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\UserJsonldUserRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/BigDecimalJsonldNormalizer.php b/src/Normalizer/BigDecimalJsonldNormalizer.php index f39d0513..b22d2b93 100644 --- a/src/Normalizer/BigDecimalJsonldNormalizer.php +++ b/src/Normalizer/BigDecimalJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BigDecimalJsonldNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\BigDecimalJsonld'; + return 'Gyroscops\\Api\\Model\\BigDecimalJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\BigDecimalJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BigDecimalJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,88 +43,88 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('scale', $data) && $data['scale'] !== null) { + if (\array_key_exists('scale', $data) && null !== $data['scale']) { $object->setScale($data['scale']); unset($data['scale']); - } elseif (\array_key_exists('scale', $data) && $data['scale'] === null) { + } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { $object->setScale(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } - if (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] !== null) { + if (\array_key_exists('unscaledValue', $data) && null !== $data['unscaledValue']) { $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); unset($data['unscaledValue']); - } elseif (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] === null) { + } elseif (\array_key_exists('unscaledValue', $data) && null === $data['unscaledValue']) { $object->setUnscaledValue(null); } - if (\array_key_exists('integralPart', $data) && $data['integralPart'] !== null) { + if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { $object->setIntegralPart($data['integralPart']); unset($data['integralPart']); - } elseif (\array_key_exists('integralPart', $data) && $data['integralPart'] === null) { + } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { $object->setIntegralPart(null); } - if (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] !== null) { + if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { $object->setFractionalPart($data['fractionalPart']); unset($data['fractionalPart']); - } elseif (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] === null) { + } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { $object->setFractionalPart(null); } - if (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] !== null) { + if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); unset($data['nonZeroFractionalPart']); - } elseif (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] === null) { + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { $object->setNonZeroFractionalPart(null); } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/BigDecimalNormalizer.php b/src/Normalizer/BigDecimalNormalizer.php index c2ed1409..de10f99b 100644 --- a/src/Normalizer/BigDecimalNormalizer.php +++ b/src/Normalizer/BigDecimalNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BigDecimalNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\BigDecimal'; + return 'Gyroscops\\Api\\Model\\BigDecimal' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\BigDecimal'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BigDecimal' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,70 +43,70 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('scale', $data) && $data['scale'] !== null) { + if (\array_key_exists('scale', $data) && null !== $data['scale']) { $object->setScale($data['scale']); unset($data['scale']); - } elseif (\array_key_exists('scale', $data) && $data['scale'] === null) { + } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { $object->setScale(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } - if (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] !== null) { + if (\array_key_exists('unscaledValue', $data) && null !== $data['unscaledValue']) { $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); unset($data['unscaledValue']); - } elseif (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] === null) { + } elseif (\array_key_exists('unscaledValue', $data) && null === $data['unscaledValue']) { $object->setUnscaledValue(null); } - if (\array_key_exists('integralPart', $data) && $data['integralPart'] !== null) { + if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { $object->setIntegralPart($data['integralPart']); unset($data['integralPart']); - } elseif (\array_key_exists('integralPart', $data) && $data['integralPart'] === null) { + } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { $object->setIntegralPart(null); } - if (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] !== null) { + if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { $object->setFractionalPart($data['fractionalPart']); unset($data['fractionalPart']); - } elseif (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] === null) { + } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { $object->setFractionalPart(null); } - if (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] !== null) { + if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); unset($data['nonZeroFractionalPart']); - } elseif (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] === null) { + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { $object->setNonZeroFractionalPart(null); } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/BigIntegerJsonldNormalizer.php b/src/Normalizer/BigIntegerJsonldNormalizer.php index 167799cf..6fa8658a 100644 --- a/src/Normalizer/BigIntegerJsonldNormalizer.php +++ b/src/Normalizer/BigIntegerJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BigIntegerJsonldNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\BigIntegerJsonld'; + return 'Gyroscops\\Api\\Model\\BigIntegerJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\BigIntegerJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BigIntegerJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,82 +43,82 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('bitLength', $data) && $data['bitLength'] !== null) { + if (\array_key_exists('bitLength', $data) && null !== $data['bitLength']) { $object->setBitLength($data['bitLength']); unset($data['bitLength']); - } elseif (\array_key_exists('bitLength', $data) && $data['bitLength'] === null) { + } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { $object->setBitLength(null); } - if (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] !== null) { + if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { $object->setLowestSetBit($data['lowestSetBit']); unset($data['lowestSetBit']); - } elseif (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] === null) { + } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { $object->setLowestSetBit(null); } - if (\array_key_exists('even', $data) && $data['even'] !== null) { + if (\array_key_exists('even', $data) && null !== $data['even']) { $object->setEven($data['even']); unset($data['even']); - } elseif (\array_key_exists('even', $data) && $data['even'] === null) { + } elseif (\array_key_exists('even', $data) && null === $data['even']) { $object->setEven(null); } - if (\array_key_exists('odd', $data) && $data['odd'] !== null) { + if (\array_key_exists('odd', $data) && null !== $data['odd']) { $object->setOdd($data['odd']); unset($data['odd']); - } elseif (\array_key_exists('odd', $data) && $data['odd'] === null) { + } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { $object->setOdd(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/BigIntegerNormalizer.php b/src/Normalizer/BigIntegerNormalizer.php index cfe6dd56..d2faa0d4 100644 --- a/src/Normalizer/BigIntegerNormalizer.php +++ b/src/Normalizer/BigIntegerNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BigIntegerNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\BigInteger'; + return 'Gyroscops\\Api\\Model\\BigInteger' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\BigInteger'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BigInteger' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,64 +43,64 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('bitLength', $data) && $data['bitLength'] !== null) { + if (\array_key_exists('bitLength', $data) && null !== $data['bitLength']) { $object->setBitLength($data['bitLength']); unset($data['bitLength']); - } elseif (\array_key_exists('bitLength', $data) && $data['bitLength'] === null) { + } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { $object->setBitLength(null); } - if (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] !== null) { + if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { $object->setLowestSetBit($data['lowestSetBit']); unset($data['lowestSetBit']); - } elseif (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] === null) { + } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { $object->setLowestSetBit(null); } - if (\array_key_exists('even', $data) && $data['even'] !== null) { + if (\array_key_exists('even', $data) && null !== $data['even']) { $object->setEven($data['even']); unset($data['even']); - } elseif (\array_key_exists('even', $data) && $data['even'] === null) { + } elseif (\array_key_exists('even', $data) && null === $data['even']) { $object->setEven(null); } - if (\array_key_exists('odd', $data) && $data['odd'] !== null) { + if (\array_key_exists('odd', $data) && null !== $data['odd']) { $object->setOdd($data['odd']); unset($data['odd']); - } elseif (\array_key_exists('odd', $data) && $data['odd'] === null) { + } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { $object->setOdd(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/BigNumberJsonldNormalizer.php b/src/Normalizer/BigNumberJsonldNormalizer.php index 18aa6c11..858d0f9d 100644 --- a/src/Normalizer/BigNumberJsonldNormalizer.php +++ b/src/Normalizer/BigNumberJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BigNumberJsonldNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\BigNumberJsonld'; + return 'Gyroscops\\Api\\Model\\BigNumberJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\BigNumberJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BigNumberJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,58 +43,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/BigNumberNormalizer.php b/src/Normalizer/BigNumberNormalizer.php index e616d6c7..6a7fb061 100644 --- a/src/Normalizer/BigNumberNormalizer.php +++ b/src/Normalizer/BigNumberNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BigNumberNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\BigNumber'; + return 'Gyroscops\\Api\\Model\\BigNumber' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\BigNumber'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BigNumber' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/BuyableJsonldNormalizer.php b/src/Normalizer/BuyableJsonldNormalizer.php index 53da3704..0ce22d67 100644 --- a/src/Normalizer/BuyableJsonldNormalizer.php +++ b/src/Normalizer/BuyableJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BuyableJsonldNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\BuyableJsonld'; + return 'Gyroscops\\Api\\Model\\BuyableJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\BuyableJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BuyableJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,102 +43,102 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('sku', $data) && $data['sku'] !== null) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); unset($data['sku']); - } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { $object->setSku(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { $object->setSlug(null); } - if (\array_key_exists('shortDescription', $data) && $data['shortDescription'] !== null) { + if (\array_key_exists('shortDescription', $data) && null !== $data['shortDescription']) { $object->setShortDescription($data['shortDescription']); unset($data['shortDescription']); - } elseif (\array_key_exists('shortDescription', $data) && $data['shortDescription'] === null) { + } elseif (\array_key_exists('shortDescription', $data) && null === $data['shortDescription']) { $object->setShortDescription(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('features', $data) && $data['features'] !== null) { + if (\array_key_exists('features', $data) && null !== $data['features']) { $values = []; foreach ($data['features'] as $value) { $values[] = $value; } $object->setFeatures($values); unset($data['features']); - } elseif (\array_key_exists('features', $data) && $data['features'] === null) { + } elseif (\array_key_exists('features', $data) && null === $data['features']) { $object->setFeatures(null); } - if (\array_key_exists('priceList', $data) && $data['priceList'] !== null) { + if (\array_key_exists('priceList', $data) && null !== $data['priceList']) { $values_1 = []; foreach ($data['priceList'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\BuyablePriceJsonld', 'json', $context); } $object->setPriceList($values_1); unset($data['priceList']); - } elseif (\array_key_exists('priceList', $data) && $data['priceList'] === null) { + } elseif (\array_key_exists('priceList', $data) && null === $data['priceList']) { $object->setPriceList(null); } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/BuyableNormalizer.php b/src/Normalizer/BuyableNormalizer.php index edaa6d9f..e319c417 100644 --- a/src/Normalizer/BuyableNormalizer.php +++ b/src/Normalizer/BuyableNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class BuyableNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Buyable'; + return 'Gyroscops\\Api\\Model\\Buyable' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Buyable'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Buyable' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,84 +43,84 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('sku', $data) && $data['sku'] !== null) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); unset($data['sku']); - } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { $object->setSku(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { $object->setSlug(null); } - if (\array_key_exists('shortDescription', $data) && $data['shortDescription'] !== null) { + if (\array_key_exists('shortDescription', $data) && null !== $data['shortDescription']) { $object->setShortDescription($data['shortDescription']); unset($data['shortDescription']); - } elseif (\array_key_exists('shortDescription', $data) && $data['shortDescription'] === null) { + } elseif (\array_key_exists('shortDescription', $data) && null === $data['shortDescription']) { $object->setShortDescription(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('features', $data) && $data['features'] !== null) { + if (\array_key_exists('features', $data) && null !== $data['features']) { $values = []; foreach ($data['features'] as $value) { $values[] = $value; } $object->setFeatures($values); unset($data['features']); - } elseif (\array_key_exists('features', $data) && $data['features'] === null) { + } elseif (\array_key_exists('features', $data) && null === $data['features']) { $object->setFeatures(null); } - if (\array_key_exists('priceList', $data) && $data['priceList'] !== null) { + if (\array_key_exists('priceList', $data) && null !== $data['priceList']) { $values_1 = []; foreach ($data['priceList'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Price', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\BuyablePrice', 'json', $context); } $object->setPriceList($values_1); unset($data['priceList']); - } elseif (\array_key_exists('priceList', $data) && $data['priceList'] === null) { + } elseif (\array_key_exists('priceList', $data) && null === $data['priceList']) { $object->setPriceList(null); } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/BuyablePriceJsonldNormalizer.php b/src/Normalizer/BuyablePriceJsonldNormalizer.php new file mode 100644 index 00000000..7d4f586d --- /dev/null +++ b/src/Normalizer/BuyablePriceJsonldNormalizer.php @@ -0,0 +1,123 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('buyable', $data) && null !== $data['buyable']) { + $object->setBuyable($this->denormalizer->denormalize($data['buyable'], 'Gyroscops\\Api\\Model\\BuyableJsonld', 'json', $context)); + unset($data['buyable']); + } elseif (\array_key_exists('buyable', $data) && null === $data['buyable']) { + $object->setBuyable(null); + } + if (\array_key_exists('type', $data) && null !== $data['type']) { + $object->setType2($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld', 'json', $context)); + unset($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType2(null); + } + if (\array_key_exists('amount', $data) && null !== $data['amount']) { + $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + unset($data['amount']); + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { + $object->setAmount(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id2') && null !== $object->getId2()) { + $data['id'] = $object->getId2(); + } + if ($object->isInitialized('buyable') && null !== $object->getBuyable()) { + $data['buyable'] = $this->normalizer->normalize($object->getBuyable(), 'json', $context); + } + if ($object->isInitialized('type2') && null !== $object->getType2()) { + $data['type'] = $this->normalizer->normalize($object->getType2(), 'json', $context); + } + if ($object->isInitialized('amount') && null !== $object->getAmount()) { + $data['amount'] = $this->normalizer->normalize($object->getAmount(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/BuyablePriceJsonldReadNormalizer.php b/src/Normalizer/BuyablePriceJsonldReadNormalizer.php new file mode 100644 index 00000000..5ce5323b --- /dev/null +++ b/src/Normalizer/BuyablePriceJsonldReadNormalizer.php @@ -0,0 +1,96 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('type', $data) && null !== $data['type']) { + $object->setType2($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead', 'json', $context)); + unset($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType2(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type2') && null !== $object->getType2()) { + $data['type'] = $this->normalizer->normalize($object->getType2(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/BuyablePriceNormalizer.php b/src/Normalizer/BuyablePriceNormalizer.php new file mode 100644 index 00000000..959669e7 --- /dev/null +++ b/src/Normalizer/BuyablePriceNormalizer.php @@ -0,0 +1,105 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('buyable', $data) && null !== $data['buyable']) { + $object->setBuyable($this->denormalizer->denormalize($data['buyable'], 'Gyroscops\\Api\\Model\\Buyable', 'json', $context)); + unset($data['buyable']); + } elseif (\array_key_exists('buyable', $data) && null === $data['buyable']) { + $object->setBuyable(null); + } + if (\array_key_exists('type', $data) && null !== $data['type']) { + $object->setType($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\SubscriptionType', 'json', $context)); + unset($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType(null); + } + if (\array_key_exists('amount', $data) && null !== $data['amount']) { + $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + unset($data['amount']); + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { + $object->setAmount(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('buyable') && null !== $object->getBuyable()) { + $data['buyable'] = $this->normalizer->normalize($object->getBuyable(), 'json', $context); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['type'] = $this->normalizer->normalize($object->getType(), 'json', $context); + } + if ($object->isInitialized('amount') && null !== $object->getAmount()) { + $data['amount'] = $this->normalizer->normalize($object->getAmount(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/BuyablePriceReadNormalizer.php b/src/Normalizer/BuyablePriceReadNormalizer.php new file mode 100644 index 00000000..f577aaeb --- /dev/null +++ b/src/Normalizer/BuyablePriceReadNormalizer.php @@ -0,0 +1,86 @@ + $value) { + $values[$key] = $value; + } + $object->setType($values); + unset($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $values = []; + foreach ($object->getType() as $key => $value) { + $values[$key] = $value; + } + $data['type'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ColorJsonldReadNormalizer.php b/src/Normalizer/ColorJsonldReadNormalizer.php index c046cc89..bc08d171 100644 --- a/src/Normalizer/ColorJsonldReadNormalizer.php +++ b/src/Normalizer/ColorJsonldReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ColorJsonldReadNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ColorJsonldRead'; + return 'Gyroscops\\Api\\Model\\ColorJsonldRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ColorJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ColorJsonldRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/CompilationCompilationReadNormalizer.php b/src/Normalizer/CompilationCompilationReadNormalizer.php new file mode 100644 index 00000000..4a96ea02 --- /dev/null +++ b/src/Normalizer/CompilationCompilationReadNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { + $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + unset($data['createdAt']); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); + } + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + $object->setWorkflow($data['workflow']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId(); + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('workflow') && null !== $object->getWorkflow()) { + $data['workflow'] = $object->getWorkflow(); + } + $data['pipeline'] = $object->getPipeline(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/CompilationJsonldCompilationReadNormalizer.php b/src/Normalizer/CompilationJsonldCompilationReadNormalizer.php new file mode 100644 index 00000000..d62c3b94 --- /dev/null +++ b/src/Normalizer/CompilationJsonldCompilationReadNormalizer.php @@ -0,0 +1,128 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { + $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + unset($data['createdAt']); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); + } + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + $object->setWorkflow($data['workflow']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId2(); + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('workflow') && null !== $object->getWorkflow()) { + $data['workflow'] = $object->getWorkflow(); + } + $data['pipeline'] = $object->getPipeline(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/CompilationJsonldNormalizer.php b/src/Normalizer/CompilationJsonldNormalizer.php deleted file mode 100644 index 5f9319a9..00000000 --- a/src/Normalizer/CompilationJsonldNormalizer.php +++ /dev/null @@ -1,164 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { - $object->setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { - $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); - unset($data['createdAt']); - } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { - $object->setCreatedAt(null); - } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $object->setWorkflow($data['workflow']); - unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { - $object->setWorkflow(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($data['pipeline']); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { - $object->setWorkspace($data['workspace']); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - if (\array_key_exists('owner', $data) && $data['owner'] !== null) { - $object->setOwner($data['owner']); - unset($data['owner']); - } elseif (\array_key_exists('owner', $data) && $data['owner'] === null) { - $object->setOwner(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId2(); - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { - $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('workflow') && null !== $object->getWorkflow()) { - $data['workflow'] = $object->getWorkflow(); - } - $data['pipeline'] = $object->getPipeline(); - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('owner') && null !== $object->getOwner()) { - $data['owner'] = $object->getOwner(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/CompilationNormalizer.php b/src/Normalizer/CompilationNormalizer.php deleted file mode 100644 index 7a6c0f72..00000000 --- a/src/Normalizer/CompilationNormalizer.php +++ /dev/null @@ -1,146 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { - $object->setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { - $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); - unset($data['createdAt']); - } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { - $object->setCreatedAt(null); - } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $object->setWorkflow($data['workflow']); - unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { - $object->setWorkflow(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($data['pipeline']); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { - $object->setWorkspace($data['workspace']); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - if (\array_key_exists('owner', $data) && $data['owner'] !== null) { - $object->setOwner($data['owner']); - unset($data['owner']); - } elseif (\array_key_exists('owner', $data) && $data['owner'] === null) { - $object->setOwner(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId(); - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { - $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('workflow') && null !== $object->getWorkflow()) { - $data['workflow'] = $object->getWorkflow(); - } - $data['pipeline'] = $object->getPipeline(); - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('owner') && null !== $object->getOwner()) { - $data['owner'] = $object->getOwner(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ComposerAuthenticationJsonldNormalizer.php b/src/Normalizer/ComposerAuthenticationJsonldNormalizer.php index 1bc99134..991e5b20 100644 --- a/src/Normalizer/ComposerAuthenticationJsonldNormalizer.php +++ b/src/Normalizer/ComposerAuthenticationJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerAuthenticationJsonldNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ComposerAuthenticationJsonld'; + return 'Gyroscops\\Api\\Model\\ComposerAuthenticationJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ComposerAuthenticationJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ComposerAuthenticationJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('token', $data) && $data['token'] !== null) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + } elseif (\array_key_exists('token', $data) && null === $data['token']) { $object->setToken(null); } foreach ($data as $key => $value) { @@ -97,9 +88,7 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('url') && null !== $object->getUrl()) { - $data['url'] = $object->getUrl(); - } + $data['url'] = $object->getUrl(); $data['token'] = $object->getToken(); foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/ComposerAuthenticationNormalizer.php b/src/Normalizer/ComposerAuthenticationNormalizer.php index a6d03a09..cb804c55 100644 --- a/src/Normalizer/ComposerAuthenticationNormalizer.php +++ b/src/Normalizer/ComposerAuthenticationNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerAuthenticationNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ComposerAuthentication'; + return 'Gyroscops\\Api\\Model\\ComposerAuthentication' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ComposerAuthentication'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ComposerAuthentication' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,16 +43,16 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } - if (\array_key_exists('token', $data) && $data['token'] !== null) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + } elseif (\array_key_exists('token', $data) && null === $data['token']) { $object->setToken(null); } foreach ($data as $key => $value) { @@ -79,9 +70,7 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('url') && null !== $object->getUrl()) { - $data['url'] = $object->getUrl(); - } + $data['url'] = $object->getUrl(); $data['token'] = $object->getToken(); foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/ComposerAutoloadJsonldNormalizer.php b/src/Normalizer/ComposerAutoloadJsonldNormalizer.php index bf654cde..7ea6add8 100644 --- a/src/Normalizer/ComposerAutoloadJsonldNormalizer.php +++ b/src/Normalizer/ComposerAutoloadJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerAutoloadJsonldNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ComposerAutoloadJsonld'; + return 'Gyroscops\\Api\\Model\\ComposerAutoloadJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ComposerAutoloadJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ComposerAutoloadJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,44 +43,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('type', $data) && $data['type'] !== null) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType2($data['type']); unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + } elseif (\array_key_exists('type', $data) && null === $data['type']) { $object->setType2(null); } - if (\array_key_exists('namespace', $data) && $data['namespace'] !== null) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); unset($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { $object->setNamespace(null); } - if (\array_key_exists('paths', $data) && $data['paths'] !== null) { + if (\array_key_exists('paths', $data) && null !== $data['paths']) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); unset($data['paths']); - } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { $object->setPaths(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ComposerAutoloadNormalizer.php b/src/Normalizer/ComposerAutoloadNormalizer.php index 5d161ffb..e1808933 100644 --- a/src/Normalizer/ComposerAutoloadNormalizer.php +++ b/src/Normalizer/ComposerAutoloadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerAutoloadNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ComposerAutoload'; + return 'Gyroscops\\Api\\Model\\ComposerAutoload' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ComposerAutoload'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ComposerAutoload' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,26 +43,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('type', $data) && $data['type'] !== null) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType($data['type']); unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + } elseif (\array_key_exists('type', $data) && null === $data['type']) { $object->setType(null); } - if (\array_key_exists('namespace', $data) && $data['namespace'] !== null) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); unset($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { $object->setNamespace(null); } - if (\array_key_exists('paths', $data) && $data['paths'] !== null) { + if (\array_key_exists('paths', $data) && null !== $data['paths']) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); unset($data['paths']); - } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { $object->setPaths(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ComposerJsonldNormalizer.php b/src/Normalizer/ComposerJsonldNormalizer.php index 6a1a04bf..f86b3ea5 100644 --- a/src/Normalizer/ComposerJsonldNormalizer.php +++ b/src/Normalizer/ComposerJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerJsonldNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ComposerJsonld'; + return 'Gyroscops\\Api\\Model\\ComposerJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ComposerJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ComposerJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,62 +43,62 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('autoloads', $data) && $data['autoloads'] !== null) { + if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { $values = []; foreach ($data['autoloads'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ComposerAutoloadJsonld', 'json', $context); } $object->setAutoloads($values); unset($data['autoloads']); - } elseif (\array_key_exists('autoloads', $data) && $data['autoloads'] === null) { + } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { $object->setAutoloads(null); } - if (\array_key_exists('packages', $data) && $data['packages'] !== null) { + if (\array_key_exists('packages', $data) && null !== $data['packages']) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['packages'] as $key => $value_1) { $values_1[$key] = $value_1; } $object->setPackages($values_1); unset($data['packages']); - } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + } elseif (\array_key_exists('packages', $data) && null === $data['packages']) { $object->setPackages(null); } - if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + if (\array_key_exists('repositories', $data) && null !== $data['repositories']) { $values_2 = []; foreach ($data['repositories'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ComposerRepositoryJsonld', 'json', $context); } $object->setRepositories($values_2); unset($data['repositories']); - } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + } elseif (\array_key_exists('repositories', $data) && null === $data['repositories']) { $object->setRepositories(null); } - if (\array_key_exists('authentications', $data) && $data['authentications'] !== null) { + if (\array_key_exists('authentications', $data) && null !== $data['authentications']) { $values_3 = []; foreach ($data['authentications'] as $value_3) { $values_3[] = $this->denormalizer->denormalize($value_3, 'Gyroscops\\Api\\Model\\ComposerAuthenticationJsonld', 'json', $context); } $object->setAuthentications($values_3); unset($data['authentications']); - } elseif (\array_key_exists('authentications', $data) && $data['authentications'] === null) { + } elseif (\array_key_exists('authentications', $data) && null === $data['authentications']) { $object->setAuthentications(null); } foreach ($data as $key_1 => $value_4) { diff --git a/src/Normalizer/ComposerNormalizer.php b/src/Normalizer/ComposerNormalizer.php index 37ff0485..816301c4 100644 --- a/src/Normalizer/ComposerNormalizer.php +++ b/src/Normalizer/ComposerNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Composer'; + return 'Gyroscops\\Api\\Model\\Composer' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Composer'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Composer' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,44 +43,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('autoloads', $data) && $data['autoloads'] !== null) { + if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { $values = []; foreach ($data['autoloads'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ComposerAutoload', 'json', $context); } $object->setAutoloads($values); unset($data['autoloads']); - } elseif (\array_key_exists('autoloads', $data) && $data['autoloads'] === null) { + } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { $object->setAutoloads(null); } - if (\array_key_exists('packages', $data) && $data['packages'] !== null) { + if (\array_key_exists('packages', $data) && null !== $data['packages']) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['packages'] as $key => $value_1) { $values_1[$key] = $value_1; } $object->setPackages($values_1); unset($data['packages']); - } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + } elseif (\array_key_exists('packages', $data) && null === $data['packages']) { $object->setPackages(null); } - if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + if (\array_key_exists('repositories', $data) && null !== $data['repositories']) { $values_2 = []; foreach ($data['repositories'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ComposerRepository', 'json', $context); } $object->setRepositories($values_2); unset($data['repositories']); - } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + } elseif (\array_key_exists('repositories', $data) && null === $data['repositories']) { $object->setRepositories(null); } - if (\array_key_exists('authentications', $data) && $data['authentications'] !== null) { + if (\array_key_exists('authentications', $data) && null !== $data['authentications']) { $values_3 = []; foreach ($data['authentications'] as $value_3) { $values_3[] = $this->denormalizer->denormalize($value_3, 'Gyroscops\\Api\\Model\\ComposerAuthentication', 'json', $context); } $object->setAuthentications($values_3); unset($data['authentications']); - } elseif (\array_key_exists('authentications', $data) && $data['authentications'] === null) { + } elseif (\array_key_exists('authentications', $data) && null === $data['authentications']) { $object->setAuthentications(null); } foreach ($data as $key_1 => $value_4) { diff --git a/src/Normalizer/ComposerRepositoryJsonldNormalizer.php b/src/Normalizer/ComposerRepositoryJsonldNormalizer.php index a3ebea83..15e3a3b1 100644 --- a/src/Normalizer/ComposerRepositoryJsonldNormalizer.php +++ b/src/Normalizer/ComposerRepositoryJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerRepositoryJsonldNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ComposerRepositoryJsonld'; + return 'Gyroscops\\Api\\Model\\ComposerRepositoryJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ComposerRepositoryJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ComposerRepositoryJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('type', $data) && $data['type'] !== null) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType2($data['type']); unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + } elseif (\array_key_exists('type', $data) && null === $data['type']) { $object->setType2(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ComposerRepositoryNormalizer.php b/src/Normalizer/ComposerRepositoryNormalizer.php index bfafcce4..af5b387a 100644 --- a/src/Normalizer/ComposerRepositoryNormalizer.php +++ b/src/Normalizer/ComposerRepositoryNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ComposerRepositoryNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ComposerRepository'; + return 'Gyroscops\\Api\\Model\\ComposerRepository' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ComposerRepository'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ComposerRepository' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('type', $data) && $data['type'] !== null) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType($data['type']); unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + } elseif (\array_key_exists('type', $data) && null === $data['type']) { $object->setType(null); } - if (\array_key_exists('url', $data) && $data['url'] !== null) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + } elseif (\array_key_exists('url', $data) && null === $data['url']) { $object->setUrl(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ConfigurationChangeConfigurationValueInputConfigurationUpdateNormalizer.php b/src/Normalizer/ConfigurationChangeConfigurationValueInputConfigurationUpdateNormalizer.php new file mode 100644 index 00000000..f24718bc --- /dev/null +++ b/src/Normalizer/ConfigurationChangeConfigurationValueInputConfigurationUpdateNormalizer.php @@ -0,0 +1,86 @@ + $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer.php b/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer.php new file mode 100644 index 00000000..bd397981 --- /dev/null +++ b/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer.php @@ -0,0 +1,104 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php b/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php deleted file mode 100644 index 661275f1..00000000 --- a/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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); - unset($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($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); - unset($data['iterator']); - } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { - $object->setIterator(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values[$key] = $value; - } - $data['contents'] = $values; - } - if ($object->isInitialized('iterator') && null !== $object->getIterator()) { - $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); - } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationChangeConfigurationValueInputNormalizer.php b/src/Normalizer/ConfigurationChangeConfigurationValueInputNormalizer.php deleted file mode 100644 index 515a6566..00000000 --- a/src/Normalizer/ConfigurationChangeConfigurationValueInputNormalizer.php +++ /dev/null @@ -1,112 +0,0 @@ - $value) { - $values[$key] = $value; - } - $object->setContents($values); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { - $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['iterator'] as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $object->setIterator($values_1); - unset($data['iterator']); - } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { - $object->setIterator(null); - } - foreach ($data as $key_2 => $value_2) { - if (preg_match('/.*/', (string) $key_2)) { - $object[$key_2] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values[$key] = $value; - } - $data['contents'] = $values; - } - if ($object->isInitialized('iterator') && null !== $object->getIterator()) { - $values_1 = []; - foreach ($object->getIterator() as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $data['iterator'] = $values_1; - } - foreach ($object as $key_2 => $value_2) { - if (preg_match('/.*/', (string) $key_2)) { - $data[$key_2] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationConfigurationUpdateNormalizer.php b/src/Normalizer/ConfigurationConfigurationUpdateNormalizer.php new file mode 100644 index 00000000..1d95e259 --- /dev/null +++ b/src/Normalizer/ConfigurationConfigurationUpdateNormalizer.php @@ -0,0 +1,87 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationConfigurationViewNormalizer.php b/src/Normalizer/ConfigurationConfigurationViewNormalizer.php new file mode 100644 index 00000000..f95d6779 --- /dev/null +++ b/src/Normalizer/ConfigurationConfigurationViewNormalizer.php @@ -0,0 +1,130 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationCreateConfigurationInputConfigurationCreateNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputConfigurationCreateNormalizer.php new file mode 100644 index 00000000..260f88f8 --- /dev/null +++ b/src/Normalizer/ConfigurationCreateConfigurationInputConfigurationCreateNormalizer.php @@ -0,0 +1,104 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer.php new file mode 100644 index 00000000..af35d8f4 --- /dev/null +++ b/src/Normalizer/ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer.php @@ -0,0 +1,122 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationCreateConfigurationInputJsonldNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputJsonldNormalizer.php deleted file mode 100644 index b9e6eff3..00000000 --- a/src/Normalizer/ConfigurationCreateConfigurationInputJsonldNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values[$key] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php deleted file mode 100644 index f8d53b75..00000000 --- a/src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setName($data['name']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values[$key] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationEditNormalizer.php b/src/Normalizer/ConfigurationEditNormalizer.php deleted file mode 100644 index 870fefdd..00000000 --- a/src/Normalizer/ConfigurationEditNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setName($data['name']); - unset($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']); - unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { - $object->setDescription(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationJsonldConfigurationUpdateNormalizer.php b/src/Normalizer/ConfigurationJsonldConfigurationUpdateNormalizer.php new file mode 100644 index 00000000..f490eb5c --- /dev/null +++ b/src/Normalizer/ConfigurationJsonldConfigurationUpdateNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationJsonldConfigurationViewNormalizer.php b/src/Normalizer/ConfigurationJsonldConfigurationViewNormalizer.php new file mode 100644 index 00000000..52d502df --- /dev/null +++ b/src/Normalizer/ConfigurationJsonldConfigurationViewNormalizer.php @@ -0,0 +1,148 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationJsonldEditNormalizer.php b/src/Normalizer/ConfigurationJsonldEditNormalizer.php deleted file mode 100644 index e0d03d0d..00000000 --- a/src/Normalizer/ConfigurationJsonldEditNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { - $object->setDescription(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationJsonldNormalizer.php b/src/Normalizer/ConfigurationJsonldNormalizer.php deleted file mode 100644 index 496024ef..00000000 --- a/src/Normalizer/ConfigurationJsonldNormalizer.php +++ /dev/null @@ -1,157 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationJsonldReadNormalizer.php b/src/Normalizer/ConfigurationJsonldReadNormalizer.php deleted file mode 100644 index 5280415a..00000000 --- a/src/Normalizer/ConfigurationJsonldReadNormalizer.php +++ /dev/null @@ -1,148 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationNormalizer.php b/src/Normalizer/ConfigurationNormalizer.php deleted file mode 100644 index e50993f2..00000000 --- a/src/Normalizer/ConfigurationNormalizer.php +++ /dev/null @@ -1,139 +0,0 @@ -setId($data['id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationReadNormalizer.php b/src/Normalizer/ConfigurationReadNormalizer.php deleted file mode 100644 index 87cdb862..00000000 --- a/src/Normalizer/ConfigurationReadNormalizer.php +++ /dev/null @@ -1,130 +0,0 @@ -setId($data['id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer.php new file mode 100644 index 00000000..f6d520a6 --- /dev/null +++ b/src/Normalizer/ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer.php @@ -0,0 +1,86 @@ +setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer.php new file mode 100644 index 00000000..db2115b6 --- /dev/null +++ b/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer.php @@ -0,0 +1,104 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = []; + foreach ($data['contents'] as $value) { + $values[] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php deleted file mode 100644 index 5c202a40..00000000 --- a/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('contents', $data) && $data['contents'] !== null) { - $values = []; - foreach ($data['contents'] as $value) { - $values[] = $value; - } - $object->setContents($values); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $value) { - $values[] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationRemoveConfigurationValueInputNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputNormalizer.php deleted file mode 100644 index d3b37c03..00000000 --- a/src/Normalizer/ConfigurationRemoveConfigurationValueInputNormalizer.php +++ /dev/null @@ -1,95 +0,0 @@ -setContents($values); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $value) { - $values[] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ContextJsonldNormalizer.php b/src/Normalizer/ContextJsonldNormalizer.php index 86e646b8..3ddb1fff 100644 --- a/src/Normalizer/ContextJsonldNormalizer.php +++ b/src/Normalizer/ContextJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ContextJsonldNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ContextJsonld'; + return 'Gyroscops\\Api\\Model\\ContextJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ContextJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ContextJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('step', $data) && $data['step'] !== null) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); unset($data['step']); - } elseif (\array_key_exists('step', $data) && $data['step'] === null) { + } elseif (\array_key_exists('step', $data) && null === $data['step']) { $object->setStep(null); } - if (\array_key_exists('fixedScale', $data) && $data['fixedScale'] !== null) { + if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { $object->setFixedScale($data['fixedScale']); unset($data['fixedScale']); - } elseif (\array_key_exists('fixedScale', $data) && $data['fixedScale'] === null) { + } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { $object->setFixedScale(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ContextNormalizer.php b/src/Normalizer/ContextNormalizer.php index 30593c09..7e15f5ff 100644 --- a/src/Normalizer/ContextNormalizer.php +++ b/src/Normalizer/ContextNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ContextNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Context'; + return 'Gyroscops\\Api\\Model\\Context' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Context'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Context' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,16 +43,16 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('step', $data) && $data['step'] !== null) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); unset($data['step']); - } elseif (\array_key_exists('step', $data) && $data['step'] === null) { + } elseif (\array_key_exists('step', $data) && null === $data['step']) { $object->setStep(null); } - if (\array_key_exists('fixedScale', $data) && $data['fixedScale'] !== null) { + if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { $object->setFixedScale($data['fixedScale']); unset($data['fixedScale']); - } elseif (\array_key_exists('fixedScale', $data) && $data['fixedScale'] === null) { + } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { $object->setFixedScale(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/CreateSecretInputJsonldNormalizer.php b/src/Normalizer/CreateSecretInputJsonldNormalizer.php index f014c0b5..8fb7dc96 100644 --- a/src/Normalizer/CreateSecretInputJsonldNormalizer.php +++ b/src/Normalizer/CreateSecretInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class CreateSecretInputJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\CreateSecretInputJsonld'; + return 'Gyroscops\\Api\\Model\\CreateSecretInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\CreateSecretInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\CreateSecretInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,44 +43,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + if (\array_key_exists('contents', $data) && null !== $data['contents']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['contents'] as $key => $value) { $values[$key] = $value; } $object->setContents($values); unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { $object->setContents(null); } foreach ($data as $key_1 => $value_1) { diff --git a/src/Normalizer/CreateSecretInputNormalizer.php b/src/Normalizer/CreateSecretInputNormalizer.php index 2669e16a..cfee56d2 100644 --- a/src/Normalizer/CreateSecretInputNormalizer.php +++ b/src/Normalizer/CreateSecretInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class CreateSecretInputNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\CreateSecretInput'; + return 'Gyroscops\\Api\\Model\\CreateSecretInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\CreateSecretInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\CreateSecretInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,26 +43,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + if (\array_key_exists('contents', $data) && null !== $data['contents']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['contents'] as $key => $value) { $values[$key] = $value; } $object->setContents($values); unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { $object->setContents(null); } foreach ($data as $key_1 => $value_1) { diff --git a/src/Normalizer/CredentialsNormalizer.php b/src/Normalizer/CredentialsNormalizer.php index 8ac4e061..39970df2 100644 --- a/src/Normalizer/CredentialsNormalizer.php +++ b/src/Normalizer/CredentialsNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class CredentialsNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Credentials'; + return 'Gyroscops\\Api\\Model\\Credentials' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Credentials'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Credentials' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('username', $data) && $data['username'] !== null) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); unset($data['username']); - } elseif (\array_key_exists('username', $data) && $data['username'] === null) { + } elseif (\array_key_exists('username', $data) && null === $data['username']) { $object->setUsername(null); } - if (\array_key_exists('password', $data) && $data['password'] !== null) { + if (\array_key_exists('password', $data) && null !== $data['password']) { $object->setPassword($data['password']); unset($data['password']); - } elseif (\array_key_exists('password', $data) && $data['password'] === null) { + } elseif (\array_key_exists('password', $data) && null === $data['password']) { $object->setPassword(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/CurrencyJsonldNormalizer.php b/src/Normalizer/CurrencyJsonldNormalizer.php index 9d947798..23cc0cf2 100644 --- a/src/Normalizer/CurrencyJsonldNormalizer.php +++ b/src/Normalizer/CurrencyJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class CurrencyJsonldNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\CurrencyJsonld'; + return 'Gyroscops\\Api\\Model\\CurrencyJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\CurrencyJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\CurrencyJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,46 +43,46 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('currencyCode', $data) && $data['currencyCode'] !== null) { + if (\array_key_exists('currencyCode', $data) && null !== $data['currencyCode']) { $object->setCurrencyCode($data['currencyCode']); unset($data['currencyCode']); - } elseif (\array_key_exists('currencyCode', $data) && $data['currencyCode'] === null) { + } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { $object->setCurrencyCode(null); } - if (\array_key_exists('numericCode', $data) && $data['numericCode'] !== null) { + if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { $object->setNumericCode($data['numericCode']); unset($data['numericCode']); - } elseif (\array_key_exists('numericCode', $data) && $data['numericCode'] === null) { + } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { $object->setNumericCode(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] !== null) { + if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { $object->setDefaultFractionDigits($data['defaultFractionDigits']); unset($data['defaultFractionDigits']); - } elseif (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] === null) { + } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { $object->setDefaultFractionDigits(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/CurrencyNormalizer.php b/src/Normalizer/CurrencyNormalizer.php index 1235c9a4..2c04f018 100644 --- a/src/Normalizer/CurrencyNormalizer.php +++ b/src/Normalizer/CurrencyNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class CurrencyNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Currency'; + return 'Gyroscops\\Api\\Model\\Currency' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Currency'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Currency' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('currencyCode', $data) && $data['currencyCode'] !== null) { + if (\array_key_exists('currencyCode', $data) && null !== $data['currencyCode']) { $object->setCurrencyCode($data['currencyCode']); unset($data['currencyCode']); - } elseif (\array_key_exists('currencyCode', $data) && $data['currencyCode'] === null) { + } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { $object->setCurrencyCode(null); } - if (\array_key_exists('numericCode', $data) && $data['numericCode'] !== null) { + if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { $object->setNumericCode($data['numericCode']); unset($data['numericCode']); - } elseif (\array_key_exists('numericCode', $data) && $data['numericCode'] === null) { + } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { $object->setNumericCode(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] !== null) { + if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { $object->setDefaultFractionDigits($data['defaultFractionDigits']); unset($data['defaultFractionDigits']); - } elseif (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] === null) { + } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { $object->setDefaultFractionDigits(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..0fce1f04 --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer.php @@ -0,0 +1,86 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputEnvironmentUpdate', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..f9ab839c --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php @@ -0,0 +1,104 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonldEnvironmentUpdate', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php deleted file mode 100644 index cd58819b..00000000 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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', 'json', $context); - } - $object->setVariables($values); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php deleted file mode 100644 index 27fda4d8..00000000 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php +++ /dev/null @@ -1,95 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigurationInput', 'json', $context); - } - $object->setVariables($values); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..6581cd59 --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer.php @@ -0,0 +1,86 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConstantInputEnvironmentUpdate', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..9f5ea67a --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php @@ -0,0 +1,104 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonldEnvironmentUpdate', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php deleted file mode 100644 index 2c7f90f2..00000000 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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', 'json', $context); - } - $object->setVariables($values); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php deleted file mode 100644 index dd8e2338..00000000 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php +++ /dev/null @@ -1,95 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConstantInput', 'json', $context); - } - $object->setVariables($values); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..1aac568a --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer.php @@ -0,0 +1,86 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretInputEnvironmentUpdate', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..52b5f138 --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php @@ -0,0 +1,104 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonldEnvironmentUpdate', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php deleted file mode 100644 index 1928852f..00000000 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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', 'json', $context); - } - $object->setVariables($values); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php deleted file mode 100644 index 2e9d409e..00000000 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php +++ /dev/null @@ -1,95 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretInput', 'json', $context); - } - $object->setVariables($values); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 1e4804d9..b6425244 100644 --- a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItemNo public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchNormalizer.php index 1d350e28..de67bb4c 100644 --- a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentConfigurationsGetLdjsonResponse200HydraSearchNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraViewNormalizer.php index 988f1ec3..199336f4 100644 --- a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentConfigurationsGetLdjsonResponse200HydraViewNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200Normalizer.php index cac30eb0..6ea9cf95 100644 --- a/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentConfigurationsGetLdjsonResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigurationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer.php new file mode 100644 index 00000000..a41bde20 --- /dev/null +++ b/src/Normalizer/EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer.php @@ -0,0 +1,104 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $value; + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $value; + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer.php new file mode 100644 index 00000000..8e2fa38b --- /dev/null +++ b/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer.php @@ -0,0 +1,122 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $value; + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $value; + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php deleted file mode 100644 index 393cde1a..00000000 --- a/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $value; - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php deleted file mode 100644 index 64fdfc77..00000000 --- a/src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setName($data['name']); - unset($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']); - unset($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); - unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { - $object->setVariables(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('variables') && null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $value; - } - $data['variables'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..13818fdb --- /dev/null +++ b/src/Normalizer/EnvironmentEnvironmentUpdateNormalizer.php @@ -0,0 +1,87 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentEnvironmentViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentViewNormalizer.php new file mode 100644 index 00000000..fa9cbf88 --- /dev/null +++ b/src/Normalizer/EnvironmentEnvironmentViewNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $value; + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $value; + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 85330053..924e8c3d 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItemNorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchNormalizer.php index 3d7bf7c2..e70f6a01 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraViewNormalizer.php index f898a28e..3f7fd1c2 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsGetLdjsonResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200Normalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200Normalizer.php index 441c5af1..1529fb79 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsGetLdjsonResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php deleted file mode 100644 index 25b5a942..00000000 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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']); - unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { - $object->setRequired(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('variable') && null !== $object->getVariable()) { - $data['variable'] = $object->getVariable(); - } - if ($object->isInitialized('property') && null !== $object->getProperty()) { - $data['property'] = $object->getProperty(); - } - if ($object->isInitialized('required') && null !== $object->getRequired()) { - $data['required'] = $object->getRequired(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer.php deleted file mode 100644 index 629159ac..00000000 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); - } - $object->setHydraMapping($values); - unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { - $object->setHydraMapping(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { - $data['hydra:template'] = $object->getHydraTemplate(); - } - if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { - $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); - } - if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { - $values = []; - foreach ($object->getHydraMapping() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['hydra:mapping'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer.php deleted file mode 100644 index 712f7d96..00000000 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer.php +++ /dev/null @@ -1,132 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { - $object->setHydraNext(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['@id'] = $object->getId(); - } - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { - $data['hydra:first'] = $object->getHydraFirst(); - } - if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { - $data['hydra:last'] = $object->getHydraLast(); - } - if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { - $data['hydra:previous'] = $object->getHydraPrevious(); - } - if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { - $data['hydra:next'] = $object->getHydraNext(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer.php deleted file mode 100644 index f1665725..00000000 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableJsonldRead', 'json', $context); - } - $object->setHydraMember($values); - unset($data['hydra:member']); - } 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']); - unset($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\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView', 'json', $context)); - unset($data['hydra:view']); - } 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\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch', 'json', $context)); - unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { - $object->setHydraSearch(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { - $data['hydra:totalItems'] = $object->getHydraTotalItems(); - } - if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { - $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); - } - if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { - $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentJsonldEnvironmentUpdateNormalizer.php b/src/Normalizer/EnvironmentJsonldEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..b36f9111 --- /dev/null +++ b/src/Normalizer/EnvironmentJsonldEnvironmentUpdateNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentJsonldEnvironmentViewNormalizer.php b/src/Normalizer/EnvironmentJsonldEnvironmentViewNormalizer.php new file mode 100644 index 00000000..50a89caf --- /dev/null +++ b/src/Normalizer/EnvironmentJsonldEnvironmentViewNormalizer.php @@ -0,0 +1,128 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $value; + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $value; + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentJsonldReadNormalizer.php b/src/Normalizer/EnvironmentJsonldReadNormalizer.php deleted file mode 100644 index 4b8d2602..00000000 --- a/src/Normalizer/EnvironmentJsonldReadNormalizer.php +++ /dev/null @@ -1,138 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentJsonldVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/EnvironmentJsonldVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..a39c8d9b --- /dev/null +++ b/src/Normalizer/EnvironmentJsonldVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,128 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableJsonldVariableViewEnvironmentView', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentJsonldWriteNormalizer.php b/src/Normalizer/EnvironmentJsonldWriteNormalizer.php deleted file mode 100644 index 0e734f85..00000000 --- a/src/Normalizer/EnvironmentJsonldWriteNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { - $object->setDescription(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentReadNormalizer.php b/src/Normalizer/EnvironmentReadNormalizer.php deleted file mode 100644 index 1c44f775..00000000 --- a/src/Normalizer/EnvironmentReadNormalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -setId($data['id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index f768448f..abccc250 100644 --- a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItemNormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchNormalizer.php index 4d61de9d..c24f00fc 100644 --- a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentSecretsGetLdjsonResponse200HydraSearchNormalizer implements Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraViewNormalizer.php index 9d03cbd1..918849a0 100644 --- a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentSecretsGetLdjsonResponse200HydraViewNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200Normalizer.php index 55944b27..346a1e43 100644 --- a/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class EnvironmentSecretsGetLdjsonResponse200Normalizer implements DenormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\SecretJsonldSecretRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/EnvironmentVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..e7b1583f --- /dev/null +++ b/src/Normalizer/EnvironmentVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableVariableViewEnvironmentView', 'json', $context); + } + $object->setVariables($values); + unset($data['variables']); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('variables') && null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentWriteNormalizer.php b/src/Normalizer/EnvironmentWriteNormalizer.php deleted file mode 100644 index 715b94ab..00000000 --- a/src/Normalizer/EnvironmentWriteNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setName($data['name']); - unset($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']); - unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { - $object->setDescription(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionActionExecutionActionReadNormalizer.php b/src/Normalizer/ExecutionActionExecutionActionReadNormalizer.php new file mode 100644 index 00000000..8225d4bd --- /dev/null +++ b/src/Normalizer/ExecutionActionExecutionActionReadNormalizer.php @@ -0,0 +1,83 @@ +setExecution($data['execution']); + unset($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['execution'] = $object->getExecution(); + $data['id'] = $object->getId(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionActionJsonldExecutionActionReadNormalizer.php b/src/Normalizer/ExecutionActionJsonldExecutionActionReadNormalizer.php new file mode 100644 index 00000000..b6c0bf06 --- /dev/null +++ b/src/Normalizer/ExecutionActionJsonldExecutionActionReadNormalizer.php @@ -0,0 +1,101 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('execution', $data) && null !== $data['execution']) { + $object->setExecution($data['execution']); + unset($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['execution'] = $object->getExecution(); + $data['id'] = $object->getId2(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionActionJsonldNormalizer.php b/src/Normalizer/ExecutionActionJsonldNormalizer.php deleted file mode 100644 index bdeb50df..00000000 --- a/src/Normalizer/ExecutionActionJsonldNormalizer.php +++ /dev/null @@ -1,110 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { - $object->setExecution($data['execution']); - unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { - $object->setExecution(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId2($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['execution'] = $object->getExecution(); - $data['id'] = $object->getId2(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionActionNormalizer.php b/src/Normalizer/ExecutionActionNormalizer.php deleted file mode 100644 index 35ecde06..00000000 --- a/src/Normalizer/ExecutionActionNormalizer.php +++ /dev/null @@ -1,92 +0,0 @@ -setExecution($data['execution']); - unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { - $object->setExecution(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['execution'] = $object->getExecution(); - $data['id'] = $object->getId(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php index 092473fe..8ee0cbdf 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('schedule', $data) && $data['schedule'] !== null) { + if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Gyroscops\\Api\\Model\\ScheduleJsonld', 'json', $context)); unset($data['schedule']); - } elseif (\array_key_exists('schedule', $data) && $data['schedule'] === null) { + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineJsonld', 'json', $context)); unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php index f5757a8f..d4bb7a76 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionDeclarePipelineExecutionCommandInputNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,20 +43,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('schedule', $data) && $data['schedule'] !== null) { + if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['schedule'] as $key => $value) { $values[$key] = $value; } $object->setSchedule($values); unset($data['schedule']); - } elseif (\array_key_exists('schedule', $data) && $data['schedule'] === null) { + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\Pipeline', 'json', $context)); unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } foreach ($data as $key_1 => $value_1) { diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer.php new file mode 100644 index 00000000..728b04b8 --- /dev/null +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php deleted file mode 100644 index 8b93a479..00000000 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionExecutionReadNormalizer.php b/src/Normalizer/ExecutionExecutionReadNormalizer.php new file mode 100644 index 00000000..132259ae --- /dev/null +++ b/src/Normalizer/ExecutionExecutionReadNormalizer.php @@ -0,0 +1,234 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('owner', $data) && null !== $data['owner']) { + $object->setOwner($data['owner']); + unset($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('status', $data) && null !== $data['status']) { + $object->setStatus($data['status']); + unset($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); + } + if (\array_key_exists('errors', $data) && null !== $data['errors']) { + $object->setErrors($data['errors']); + unset($data['errors']); + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + $object->setErrors(null); + } + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { + $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); + unset($data['scheduledAt']); + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { + $object->setScheduledAt(null); + } + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { + $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); + unset($data['startedAt']); + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { + $object->setStartedAt(null); + } + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { + $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); + unset($data['finishedAt']); + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { + $object->setFinishedAt(null); + } + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { + $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); + unset($data['interruptedAt']); + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { + $object->setInterruptedAt(null); + } + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { + $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); + unset($data['resumedAt']); + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { + $object->setResumedAt(null); + } + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { + $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); + unset($data['updatedAt']); + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { + $object->setUpdatedAt(null); + } + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { + $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); + unset($data['terminatedAt']); + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { + $object->setTerminatedAt(null); + } + if (\array_key_exists('reason', $data) && null !== $data['reason']) { + $object->setReason($data['reason']); + unset($data['reason']); + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + $object->setReason(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($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']); + unset($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']); + unset($data['action']); + } elseif (\array_key_exists('action', $data) && null === $data['action']) { + $object->setAction(null); + } + if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { + $object->setSchedule($data['schedule']); + unset($data['schedule']); + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + $object->setSchedule(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId(); + $data['owner'] = $object->getOwner(); + $data['workspace'] = $object->getWorkspace(); + $data['organization'] = $object->getOrganization(); + $data['code'] = $object->getCode(); + $data['status'] = $object->getStatus(); + $data['errors'] = $object->getErrors(); + $data['scheduledAt'] = $object->getScheduledAt()->format('Y-m-d\\TH:i:sP'); + if ($object->isInitialized('startedAt') && null !== $object->getStartedAt()) { + $data['startedAt'] = $object->getStartedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('finishedAt') && null !== $object->getFinishedAt()) { + $data['finishedAt'] = $object->getFinishedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('interruptedAt') && null !== $object->getInterruptedAt()) { + $data['interruptedAt'] = $object->getInterruptedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('resumedAt') && null !== $object->getResumedAt()) { + $data['resumedAt'] = $object->getResumedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('updatedAt') && null !== $object->getUpdatedAt()) { + $data['updatedAt'] = $object->getUpdatedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('terminatedAt') && null !== $object->getTerminatedAt()) { + $data['terminatedAt'] = $object->getTerminatedAt()->format('Y-m-d\\TH:i:sP'); + } + $data['reason'] = $object->getReason(); + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + $data['pipeline'] = $object->getPipeline(); + $data['workflow'] = $object->getWorkflow(); + $data['action'] = $object->getAction(); + if ($object->isInitialized('schedule') && null !== $object->getSchedule()) { + $data['schedule'] = $object->getSchedule(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionIdJsonldNormalizer.php b/src/Normalizer/ExecutionIdJsonldNormalizer.php deleted file mode 100644 index 90e1585a..00000000 --- a/src/Normalizer/ExecutionIdJsonldNormalizer.php +++ /dev/null @@ -1,102 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('nil', $data) && $data['nil'] !== null) { - $object->setNil($data['nil']); - unset($data['nil']); - } elseif (\array_key_exists('nil', $data) && $data['nil'] === null) { - $object->setNil(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionIdNormalizer.php b/src/Normalizer/ExecutionIdNormalizer.php deleted file mode 100644 index 36a65e90..00000000 --- a/src/Normalizer/ExecutionIdNormalizer.php +++ /dev/null @@ -1,84 +0,0 @@ -setNil($data['nil']); - unset($data['nil']); - } elseif (\array_key_exists('nil', $data) && $data['nil'] === null) { - $object->setNil(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php index 36c10517..929b4984 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer.php new file mode 100644 index 00000000..f8cb1171 --- /dev/null +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php deleted file mode 100644 index 60b75204..00000000 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionJsonldExecutionReadNormalizer.php b/src/Normalizer/ExecutionJsonldExecutionReadNormalizer.php new file mode 100644 index 00000000..fdd11b94 --- /dev/null +++ b/src/Normalizer/ExecutionJsonldExecutionReadNormalizer.php @@ -0,0 +1,252 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('owner', $data) && null !== $data['owner']) { + $object->setOwner($data['owner']); + unset($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('status', $data) && null !== $data['status']) { + $object->setStatus($data['status']); + unset($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); + } + if (\array_key_exists('errors', $data) && null !== $data['errors']) { + $object->setErrors($data['errors']); + unset($data['errors']); + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + $object->setErrors(null); + } + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { + $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); + unset($data['scheduledAt']); + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { + $object->setScheduledAt(null); + } + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { + $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); + unset($data['startedAt']); + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { + $object->setStartedAt(null); + } + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { + $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); + unset($data['finishedAt']); + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { + $object->setFinishedAt(null); + } + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { + $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); + unset($data['interruptedAt']); + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { + $object->setInterruptedAt(null); + } + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { + $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); + unset($data['resumedAt']); + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { + $object->setResumedAt(null); + } + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { + $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); + unset($data['updatedAt']); + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { + $object->setUpdatedAt(null); + } + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { + $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); + unset($data['terminatedAt']); + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { + $object->setTerminatedAt(null); + } + if (\array_key_exists('reason', $data) && null !== $data['reason']) { + $object->setReason($data['reason']); + unset($data['reason']); + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + $object->setReason(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($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']); + unset($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']); + unset($data['action']); + } elseif (\array_key_exists('action', $data) && null === $data['action']) { + $object->setAction(null); + } + if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { + $object->setSchedule($data['schedule']); + unset($data['schedule']); + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + $object->setSchedule(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId2(); + $data['owner'] = $object->getOwner(); + $data['workspace'] = $object->getWorkspace(); + $data['organization'] = $object->getOrganization(); + $data['code'] = $object->getCode(); + $data['status'] = $object->getStatus(); + $data['errors'] = $object->getErrors(); + $data['scheduledAt'] = $object->getScheduledAt()->format('Y-m-d\\TH:i:sP'); + if ($object->isInitialized('startedAt') && null !== $object->getStartedAt()) { + $data['startedAt'] = $object->getStartedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('finishedAt') && null !== $object->getFinishedAt()) { + $data['finishedAt'] = $object->getFinishedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('interruptedAt') && null !== $object->getInterruptedAt()) { + $data['interruptedAt'] = $object->getInterruptedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('resumedAt') && null !== $object->getResumedAt()) { + $data['resumedAt'] = $object->getResumedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('updatedAt') && null !== $object->getUpdatedAt()) { + $data['updatedAt'] = $object->getUpdatedAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('terminatedAt') && null !== $object->getTerminatedAt()) { + $data['terminatedAt'] = $object->getTerminatedAt()->format('Y-m-d\\TH:i:sP'); + } + $data['reason'] = $object->getReason(); + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + $data['pipeline'] = $object->getPipeline(); + $data['workflow'] = $object->getWorkflow(); + $data['action'] = $object->getAction(); + if ($object->isInitialized('schedule') && null !== $object->getSchedule()) { + $data['schedule'] = $object->getSchedule(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionJsonldReadNormalizer.php b/src/Normalizer/ExecutionJsonldReadNormalizer.php deleted file mode 100644 index ee06ea40..00000000 --- a/src/Normalizer/ExecutionJsonldReadNormalizer.php +++ /dev/null @@ -1,201 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('status', $data) && $data['status'] !== null) { - $object->setStatus($data['status']); - unset($data['status']); - } elseif (\array_key_exists('status', $data) && $data['status'] === null) { - $object->setStatus(null); - } - if (\array_key_exists('errors', $data) && $data['errors'] !== null) { - $object->setErrors($data['errors']); - unset($data['errors']); - } elseif (\array_key_exists('errors', $data) && $data['errors'] === null) { - $object->setErrors(null); - } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { - $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - unset($data['scheduledAt']); - } elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { - $object->setScheduledAt(null); - } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { - $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - unset($data['startedAt']); - } elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { - $object->setStartedAt(null); - } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { - $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - unset($data['finishedAt']); - } elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { - $object->setFinishedAt(null); - } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { - $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - unset($data['interruptedAt']); - } elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { - $object->setInterruptedAt(null); - } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { - $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - unset($data['resumedAt']); - } elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { - $object->setResumedAt(null); - } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { - $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - unset($data['updatedAt']); - } elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { - $object->setUpdatedAt(null); - } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { - $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - unset($data['terminatedAt']); - } elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { - $object->setTerminatedAt(null); - } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { - $object->setReason($data['reason']); - unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { - $object->setReason(null); - } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { - $object->setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId2(); - $data['code'] = $object->getCode(); - $data['status'] = $object->getStatus(); - $data['errors'] = $object->getErrors(); - $data['scheduledAt'] = $object->getScheduledAt()->format('Y-m-d\\TH:i:sP'); - if ($object->isInitialized('startedAt') && null !== $object->getStartedAt()) { - $data['startedAt'] = $object->getStartedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('finishedAt') && null !== $object->getFinishedAt()) { - $data['finishedAt'] = $object->getFinishedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('interruptedAt') && null !== $object->getInterruptedAt()) { - $data['interruptedAt'] = $object->getInterruptedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('resumedAt') && null !== $object->getResumedAt()) { - $data['resumedAt'] = $object->getResumedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('updatedAt') && null !== $object->getUpdatedAt()) { - $data['updatedAt'] = $object->getUpdatedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('terminatedAt') && null !== $object->getTerminatedAt()) { - $data['terminatedAt'] = $object->getTerminatedAt()->format('Y-m-d\\TH:i:sP'); - } - $data['reason'] = $object->getReason(); - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionPipelineExecutionPipelineReadNormalizer.php b/src/Normalizer/ExecutionPipelineExecutionPipelineReadNormalizer.php new file mode 100644 index 00000000..1a889f7d --- /dev/null +++ b/src/Normalizer/ExecutionPipelineExecutionPipelineReadNormalizer.php @@ -0,0 +1,99 @@ +setExecution($data['execution']); + unset($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value) { + $values[] = $value; + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['execution'] = $object->getExecution(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $value; + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php index 6ec4d0c3..a0d7beaa 100644 --- a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionPipelineJobJsonldNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,44 +43,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) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { $object->setSteps(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ExecutionPipelineJobNormalizer.php b/src/Normalizer/ExecutionPipelineJobNormalizer.php index 1dc479c3..49a8dab5 100644 --- a/src/Normalizer/ExecutionPipelineJobNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionPipelineJobNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineJob'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineJob'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,26 +43,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { $object->setSteps(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ExecutionPipelineJsonldExecutionPipelineReadNormalizer.php b/src/Normalizer/ExecutionPipelineJsonldExecutionPipelineReadNormalizer.php new file mode 100644 index 00000000..22ea44af --- /dev/null +++ b/src/Normalizer/ExecutionPipelineJsonldExecutionPipelineReadNormalizer.php @@ -0,0 +1,117 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('execution', $data) && null !== $data['execution']) { + $object->setExecution($data['execution']); + unset($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value) { + $values[] = $value; + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['execution'] = $object->getExecution(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $value; + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php deleted file mode 100644 index becc529c..00000000 --- a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php +++ /dev/null @@ -1,126 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { - $object->setExecution(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId2($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values = []; - foreach ($data['steps'] as $value) { - $values[] = $value; - } - $object->setSteps($values); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['execution'] = $object->getExecution(); - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $value; - } - $data['steps'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionPipelineNormalizer.php b/src/Normalizer/ExecutionPipelineNormalizer.php deleted file mode 100644 index b7979ffb..00000000 --- a/src/Normalizer/ExecutionPipelineNormalizer.php +++ /dev/null @@ -1,108 +0,0 @@ -setExecution($data['execution']); - unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { - $object->setExecution(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values = []; - foreach ($data['steps'] as $value) { - $values[] = $value; - } - $object->setSteps($values); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['execution'] = $object->getExecution(); - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $value; - } - $data['steps'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionPipelineStepExecutionPipelineStepReadNormalizer.php b/src/Normalizer/ExecutionPipelineStepExecutionPipelineStepReadNormalizer.php new file mode 100644 index 00000000..b5641b3f --- /dev/null +++ b/src/Normalizer/ExecutionPipelineStepExecutionPipelineStepReadNormalizer.php @@ -0,0 +1,107 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['pipeline'] as $key => $value) { + $values[$key] = $value; + } + $object->setPipeline($values); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { + $values_1 = []; + foreach ($data['metrics'] as $value_1) { + $values_1[] = $value_1; + } + $object->setMetrics($values_1); + unset($data['metrics']); + } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + $object->setMetrics(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getPipeline() as $key => $value) { + $values[$key] = $value; + } + $data['pipeline'] = $values; + if ($object->isInitialized('metrics') && null !== $object->getMetrics()) { + $values_1 = []; + foreach ($object->getMetrics() as $value_1) { + $values_1[] = $value_1; + } + $data['metrics'] = $values_1; + } + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer.php b/src/Normalizer/ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer.php new file mode 100644 index 00000000..771e2430 --- /dev/null +++ b/src/Normalizer/ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer.php @@ -0,0 +1,117 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } 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\\AbstractPipelineJsonldExecutionPipelineStepRead', 'json', $context)); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { + $values = []; + foreach ($data['metrics'] as $value) { + $values[] = $value; + } + $object->setMetrics($values); + unset($data['metrics']); + } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + $object->setMetrics(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + if ($object->isInitialized('metrics') && null !== $object->getMetrics()) { + $values = []; + foreach ($object->getMetrics() as $value) { + $values[] = $value; + } + $data['metrics'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php deleted file mode 100644 index 07d8c352..00000000 --- a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php +++ /dev/null @@ -1,126 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('metrics', $data) && $data['metrics'] !== null) { - $values = []; - foreach ($data['metrics'] as $value) { - $values[] = $value; - } - $object->setMetrics($values); - unset($data['metrics']); - } elseif (\array_key_exists('metrics', $data) && $data['metrics'] === null) { - $object->setMetrics(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - if ($object->isInitialized('metrics') && null !== $object->getMetrics()) { - $values = []; - foreach ($object->getMetrics() as $value) { - $values[] = $value; - } - $data['metrics'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionPipelineStepNormalizer.php b/src/Normalizer/ExecutionPipelineStepNormalizer.php deleted file mode 100644 index b8015e5d..00000000 --- a/src/Normalizer/ExecutionPipelineStepNormalizer.php +++ /dev/null @@ -1,108 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('metrics', $data) && $data['metrics'] !== null) { - $values = []; - foreach ($data['metrics'] as $value) { - $values[] = $value; - } - $object->setMetrics($values); - unset($data['metrics']); - } elseif (\array_key_exists('metrics', $data) && $data['metrics'] === null) { - $object->setMetrics(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - if ($object->isInitialized('metrics') && null !== $object->getMetrics()) { - $values = []; - foreach ($object->getMetrics() as $value) { - $values[] = $value; - } - $data['metrics'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionReadNormalizer.php b/src/Normalizer/ExecutionReadNormalizer.php deleted file mode 100644 index f5d9010e..00000000 --- a/src/Normalizer/ExecutionReadNormalizer.php +++ /dev/null @@ -1,183 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('status', $data) && $data['status'] !== null) { - $object->setStatus($data['status']); - unset($data['status']); - } elseif (\array_key_exists('status', $data) && $data['status'] === null) { - $object->setStatus(null); - } - if (\array_key_exists('errors', $data) && $data['errors'] !== null) { - $object->setErrors($data['errors']); - unset($data['errors']); - } elseif (\array_key_exists('errors', $data) && $data['errors'] === null) { - $object->setErrors(null); - } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { - $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - unset($data['scheduledAt']); - } elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { - $object->setScheduledAt(null); - } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { - $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - unset($data['startedAt']); - } elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { - $object->setStartedAt(null); - } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { - $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - unset($data['finishedAt']); - } elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { - $object->setFinishedAt(null); - } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { - $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - unset($data['interruptedAt']); - } elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { - $object->setInterruptedAt(null); - } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { - $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - unset($data['resumedAt']); - } elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { - $object->setResumedAt(null); - } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { - $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - unset($data['updatedAt']); - } elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { - $object->setUpdatedAt(null); - } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { - $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - unset($data['terminatedAt']); - } elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { - $object->setTerminatedAt(null); - } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { - $object->setReason($data['reason']); - unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { - $object->setReason(null); - } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { - $object->setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId(); - $data['code'] = $object->getCode(); - $data['status'] = $object->getStatus(); - $data['errors'] = $object->getErrors(); - $data['scheduledAt'] = $object->getScheduledAt()->format('Y-m-d\\TH:i:sP'); - if ($object->isInitialized('startedAt') && null !== $object->getStartedAt()) { - $data['startedAt'] = $object->getStartedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('finishedAt') && null !== $object->getFinishedAt()) { - $data['finishedAt'] = $object->getFinishedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('interruptedAt') && null !== $object->getInterruptedAt()) { - $data['interruptedAt'] = $object->getInterruptedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('resumedAt') && null !== $object->getResumedAt()) { - $data['resumedAt'] = $object->getResumedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('updatedAt') && null !== $object->getUpdatedAt()) { - $data['updatedAt'] = $object->getUpdatedAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('terminatedAt') && null !== $object->getTerminatedAt()) { - $data['terminatedAt'] = $object->getTerminatedAt()->format('Y-m-d\\TH:i:sP'); - } - $data['reason'] = $object->getReason(); - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php index f849b9e5..87ff9390 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionResumePipelineExecutionCommandInputJsonldNormalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer.php new file mode 100644 index 00000000..07ade3ca --- /dev/null +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php deleted file mode 100644 index 033bf1c8..00000000 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php index f4789c4c..3fae458f 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php index 9e818ed5..aa70449d 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionTerminatePipelineExecutionCommandInputNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,10 +43,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer.php new file mode 100644 index 00000000..78985e8c --- /dev/null +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php deleted file mode 100644 index f6ab6d36..00000000 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowExecutionWorkflowReadNormalizer.php b/src/Normalizer/ExecutionWorkflowExecutionWorkflowReadNormalizer.php new file mode 100644 index 00000000..4f81b075 --- /dev/null +++ b/src/Normalizer/ExecutionWorkflowExecutionWorkflowReadNormalizer.php @@ -0,0 +1,99 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values = []; + foreach ($data['jobs'] as $value) { + $values[] = $value; + } + $object->setJobs($values); + unset($data['jobs']); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); + } + if (\array_key_exists('execution', $data) && null !== $data['execution']) { + $object->setExecution($data['execution']); + unset($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('jobs') && null !== $object->getJobs()) { + $values = []; + foreach ($object->getJobs() as $value) { + $values[] = $value; + } + $data['jobs'] = $values; + } + $data['execution'] = $object->getExecution(); + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonldNormalizer.php index 860a963a..001f7d18 100644 --- a/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonldNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php b/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php new file mode 100644 index 00000000..5e128f99 --- /dev/null +++ b/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldNormalizer.php deleted file mode 100644 index 24b251c2..00000000 --- a/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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\\ExecutionIdJsonld', 'json', $context)); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('date', $data) && $data['date'] !== null) { - $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $value = $data['user']; - if (is_array($data['user'])) { - $value = $this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context); - } - $object->setUser($value); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id2') && null !== $object->getId2()) { - $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); - } - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('user') && null !== $object->getUser()) { - $value = $object->getUser(); - if (is_object($object->getUser())) { - $value = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - $data['user'] = $value; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandNormalizer.php b/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandNormalizer.php deleted file mode 100644 index c15afb94..00000000 --- a/src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setId($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ExecutionId', 'json', $context)); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('date', $data) && $data['date'] !== null) { - $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $value = $data['user']; - if (is_array($data['user'])) { - $value = $this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserId', 'json', $context); - } - $object->setUser($value); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['id'] = $this->normalizer->normalize($object->getId(), 'json', $context); - } - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('user') && null !== $object->getUser()) { - $value = $object->getUser(); - if (is_object($object->getUser())) { - $value = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - $data['user'] = $value; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php index 69323da0..f6e311f2 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionWorkflowJobActionJsonldNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php index 804c418a..5569e7d9 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionWorkflowJobActionNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,16 +43,16 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer.php b/src/Normalizer/ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer.php new file mode 100644 index 00000000..6f4be829 --- /dev/null +++ b/src/Normalizer/ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer.php @@ -0,0 +1,97 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + $object->setWorkflow($data['workflow']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('action', $data) && null !== $data['action']) { + $object->setAction($data['action']); + unset($data['action']); + } elseif (\array_key_exists('action', $data) && null === $data['action']) { + $object->setAction(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId(); + $data['workflow'] = $object->getWorkflow(); + $data['pipeline'] = $object->getPipeline(); + $data['action'] = $object->getAction(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer.php b/src/Normalizer/ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer.php new file mode 100644 index 00000000..92db1117 --- /dev/null +++ b/src/Normalizer/ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + $object->setWorkflow($data['workflow']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('action', $data) && null !== $data['action']) { + $object->setAction($data['action']); + unset($data['action']); + } elseif (\array_key_exists('action', $data) && null === $data['action']) { + $object->setAction(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId2(); + $data['workflow'] = $object->getWorkflow(); + $data['pipeline'] = $object->getPipeline(); + $data['action'] = $object->getAction(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php deleted file mode 100644 index 2061431c..00000000 --- a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php +++ /dev/null @@ -1,124 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $object->setWorkflow($data['workflow']); - unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { - $object->setWorkflow(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($data['pipeline']); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('action', $data) && $data['action'] !== null) { - $object->setAction($data['action']); - unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { - $object->setAction(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId2(); - $data['workflow'] = $object->getWorkflow(); - $data['pipeline'] = $object->getPipeline(); - $data['action'] = $object->getAction(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowJobNormalizer.php b/src/Normalizer/ExecutionWorkflowJobNormalizer.php deleted file mode 100644 index 5c764e41..00000000 --- a/src/Normalizer/ExecutionWorkflowJobNormalizer.php +++ /dev/null @@ -1,106 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $object->setWorkflow($data['workflow']); - unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { - $object->setWorkflow(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($data['pipeline']); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('action', $data) && $data['action'] !== null) { - $object->setAction($data['action']); - unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { - $object->setAction(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId(); - $data['workflow'] = $object->getWorkflow(); - $data['pipeline'] = $object->getPipeline(); - $data['action'] = $object->getAction(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer.php b/src/Normalizer/ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer.php new file mode 100644 index 00000000..93e25c41 --- /dev/null +++ b/src/Normalizer/ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer.php @@ -0,0 +1,117 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values = []; + foreach ($data['jobs'] as $value) { + $values[] = $value; + } + $object->setJobs($values); + unset($data['jobs']); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); + } + if (\array_key_exists('execution', $data) && null !== $data['execution']) { + $object->setExecution($data['execution']); + unset($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('jobs') && null !== $object->getJobs()) { + $values = []; + foreach ($object->getJobs() as $value) { + $values[] = $value; + } + $data['jobs'] = $values; + } + $data['execution'] = $object->getExecution(); + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php deleted file mode 100644 index 31c16eab..00000000 --- a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php +++ /dev/null @@ -1,126 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { - $values = []; - foreach ($data['jobs'] as $value) { - $values[] = $value; - } - $object->setJobs($values); - unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { - $object->setJobs(null); - } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { - $object->setExecution($data['execution']); - unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { - $object->setExecution(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('jobs') && null !== $object->getJobs()) { - $values = []; - foreach ($object->getJobs() as $value) { - $values[] = $value; - } - $data['jobs'] = $values; - } - $data['execution'] = $object->getExecution(); - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowNormalizer.php b/src/Normalizer/ExecutionWorkflowNormalizer.php deleted file mode 100644 index 3575336f..00000000 --- a/src/Normalizer/ExecutionWorkflowNormalizer.php +++ /dev/null @@ -1,108 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { - $values = []; - foreach ($data['jobs'] as $value) { - $values[] = $value; - } - $object->setJobs($values); - unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { - $object->setJobs(null); - } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { - $object->setExecution($data['execution']); - unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { - $object->setExecution(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('jobs') && null !== $object->getJobs()) { - $values = []; - foreach ($object->getJobs() as $value) { - $values[] = $value; - } - $data['jobs'] = $values; - } - $data['execution'] = $object->getExecution(); - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonldNormalizer.php index 49c4d3ab..0419f4a8 100644 --- a/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonldNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php new file mode 100644 index 00000000..28327e45 --- /dev/null +++ b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldNormalizer.php deleted file mode 100644 index 6890e077..00000000 --- a/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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\\ExecutionIdJsonld', 'json', $context)); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('date', $data) && $data['date'] !== null) { - $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $value = $data['user']; - if (is_array($data['user'])) { - $value = $this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context); - } - $object->setUser($value); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id2') && null !== $object->getId2()) { - $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); - } - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('user') && null !== $object->getUser()) { - $value = $object->getUser(); - if (is_object($object->getUser())) { - $value = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - $data['user'] = $value; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandNormalizer.php b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandNormalizer.php deleted file mode 100644 index a98f7091..00000000 --- a/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setId($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ExecutionId', 'json', $context)); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('date', $data) && $data['date'] !== null) { - $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $value = $data['user']; - if (is_array($data['user'])) { - $value = $this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserId', 'json', $context); - } - $object->setUser($value); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['id'] = $this->normalizer->normalize($object->getId(), 'json', $context); - } - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('user') && null !== $object->getUser()) { - $value = $object->getUser(); - if (is_object($object->getUser())) { - $value = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - $data['user'] = $value; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonldNormalizer.php index 4829b1cb..2744f3ab 100644 --- a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonldNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputNormalizer.php index d5e32a0e..b71ebe76 100644 --- a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ExecutionWorkflowTerminateWorkflowExecutionCommandInputNormalizer implemen public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,10 +43,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php new file mode 100644 index 00000000..c8454f6e --- /dev/null +++ b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldNormalizer.php deleted file mode 100644 index b467dab5..00000000 --- a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldNormalizer.php +++ /dev/null @@ -1,140 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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\\ExecutionIdJsonld', 'json', $context)); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('date', $data) && $data['date'] !== null) { - $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { - $object->setReason($data['reason']); - unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { - $object->setReason(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $value = $data['user']; - if (is_array($data['user'])) { - $value = $this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context); - } - $object->setUser($value); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id2') && null !== $object->getId2()) { - $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); - } - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('reason') && null !== $object->getReason()) { - $data['reason'] = $object->getReason(); - } - if ($object->isInitialized('user') && null !== $object->getUser()) { - $value = $object->getUser(); - if (is_object($object->getUser())) { - $value = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - $data['user'] = $value; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandNormalizer.php b/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandNormalizer.php deleted file mode 100644 index c85259fe..00000000 --- a/src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setId($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ExecutionId', 'json', $context)); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('date', $data) && $data['date'] !== null) { - $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { - $object->setReason($data['reason']); - unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { - $object->setReason(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $value = $data['user']; - if (is_array($data['user'])) { - $value = $this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserId', 'json', $context); - } - $object->setUser($value); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['id'] = $this->normalizer->normalize($object->getId(), 'json', $context); - } - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('reason') && null !== $object->getReason()) { - $data['reason'] = $object->getReason(); - } - if ($object->isInitialized('user') && null !== $object->getUser()) { - $value = $object->getUser(); - if (is_object($object->getUser())) { - $value = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - $data['user'] = $value; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index a5a7400b..829cb86b 100644 --- a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingIt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchNormalizer.php index 4dc9e8dc..e3daae56 100644 --- a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchNormalizer imp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraViewNormalizer.php index 68113e05..97afa298 100644 --- a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraViewNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200Normalizer.php index 55f6de7c..edcd4288 100644 --- a/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesFromUrlGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesFromUrlGetLdjsonResponse200Normalizer implements Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 03042c68..a2862575 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItemNorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchNormalizer.php index fba561ad..129482db 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraViewNormalizer.php index d161c7cc..cc19275d 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesGetLdjsonResponse200HydraViewNormalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200Normalizer.php index cbe293c4..500e0f95 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesGetLdjsonResponse200Normalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 7c2c6851..7fbdea57 100644 --- a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappin public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchNormalizer.php index 54ede6f3..cba53934 100644 --- a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraViewNormalizer.php index 98cb141e..3df76927 100644 --- a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraViewNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200Normalizer.php index 625876ca..2e7058a3 100644 --- a/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesOauthStateGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoInstancesOauthStateGetLdjsonResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php deleted file mode 100644 index c7820850..00000000 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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']); - unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { - $object->setRequired(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('variable') && null !== $object->getVariable()) { - $data['variable'] = $object->getVariable(); - } - if ($object->isInitialized('property') && null !== $object->getProperty()) { - $data['property'] = $object->getProperty(); - } - if ($object->isInitialized('required') && null !== $object->getRequired()) { - $data['required'] = $object->getRequired(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php deleted file mode 100644 index 4a82ff8c..00000000 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); - } - $object->setHydraMapping($values); - unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { - $object->setHydraMapping(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { - $data['hydra:template'] = $object->getHydraTemplate(); - } - if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { - $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); - } - if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { - $values = []; - foreach ($object->getHydraMapping() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['hydra:mapping'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php deleted file mode 100644 index 6f4073e5..00000000 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php +++ /dev/null @@ -1,132 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { - $object->setHydraNext(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['@id'] = $object->getId(); - } - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { - $data['hydra:first'] = $object->getHydraFirst(); - } - if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { - $data['hydra:last'] = $object->getHydraLast(); - } - if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { - $data['hydra:previous'] = $object->getHydraPrevious(); - } - if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { - $data['hydra:next'] = $object->getHydraNext(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer.php deleted file mode 100644 index 2edb91b2..00000000 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); - } - $object->setHydraMember($values); - unset($data['hydra:member']); - } 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']); - unset($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\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView', 'json', $context)); - unset($data['hydra:view']); - } 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\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch', 'json', $context)); - unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { - $object->setHydraSearch(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { - $data['hydra:totalItems'] = $object->getHydraTotalItems(); - } - if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { - $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); - } - if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { - $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..7e4c9722 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,105 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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']); + unset($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('variable') && null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if ($object->isInitialized('property') && null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if ($object->isInitialized('required') && null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..66510419 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php @@ -0,0 +1,113 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + unset($data['hydra:mapping']); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..3e79158c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php @@ -0,0 +1,123 @@ +setId($data['@id']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer.php new file mode 100644 index 00000000..8f667089 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer.php @@ -0,0 +1,111 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); + } + $object->setHydraMember($values); + unset($data['hydra:member']); + } 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']); + unset($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\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView', 'json', $context)); + unset($data['hydra:view']); + } 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\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch', 'json', $context)); + unset($data['hydra:search']); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index c070ef6e..1a84cc92 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchNormalizer.php index ab9b39de..432d364d 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraViewNormalizer.php index 58628163..e2bcb3ec 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraViewNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200Normalizer.php index e48dff4e..a1e2db5d 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountsGetLdjsonResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 7e07a82b..3c783878 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItemNor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchNormalizer.php index 7ef202af..d1149db9 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchNormalizer implemen public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraViewNormalizer.php index 8b1605cc..87cc4865 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200Normalizer.php index 3c86a296..46c3a35c 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthStatesGetLdjsonResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php index e0b09d62..eb08983e 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php index e49b77c8..5aa02a2a 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php index 67f98266..d9cb3525 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php index 0ab5d348..4adc263c 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== 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)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== 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)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 3998ef2f..ee8dd986 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItemNorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchNormalizer.php index a17e966e..2b22a0f4 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraViewNormalizer.php index 3e436019..fc93e03f 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200Normalizer.php index e7f6b86f..ff883c02 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class GatewayAkeneoOauthTokenPutLdjsonResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/JaneObjectNormalizer.php b/src/Normalizer/JaneObjectNormalizer.php index 692804fb..70393021 100644 --- a/src/Normalizer/JaneObjectNormalizer.php +++ b/src/Normalizer/JaneObjectNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -25,17 +19,17 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use NormalizerAwareTrait; use CheckArray; use ValidatorTrait; - protected $normalizers = ['Gyroscops\\Api\\Model\\AbstractCloudEngine' => 'Gyroscops\\Api\\Normalizer\\AbstractCloudEngineNormalizer', 'Gyroscops\\Api\\Model\\AbstractCloudEngineJsonld' => 'Gyroscops\\Api\\Normalizer\\AbstractCloudEngineJsonldNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipeline' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\Action' => 'Gyroscops\\Api\\Normalizer\\ActionNormalizer', 'Gyroscops\\Api\\Model\\ActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionReadNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldNormalizer', '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\\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\\Buyable' => 'Gyroscops\\Api\\Normalizer\\BuyableNormalizer', 'Gyroscops\\Api\\Model\\BuyableJsonld' => 'Gyroscops\\Api\\Normalizer\\BuyableJsonldNormalizer', 'Gyroscops\\Api\\Model\\ColorJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ColorJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Compilation' => 'Gyroscops\\Api\\Normalizer\\CompilationNormalizer', 'Gyroscops\\Api\\Model\\CompilationJsonld' => 'Gyroscops\\Api\\Normalizer\\CompilationJsonldNormalizer', 'Gyroscops\\Api\\Model\\Composer' => 'Gyroscops\\Api\\Normalizer\\ComposerNormalizer', 'Gyroscops\\Api\\Model\\ComposerJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerJsonldNormalizer', 'Gyroscops\\Api\\Model\\ComposerAuthentication' => 'Gyroscops\\Api\\Normalizer\\ComposerAuthenticationNormalizer', 'Gyroscops\\Api\\Model\\ComposerAuthenticationJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerAuthenticationJsonldNormalizer', 'Gyroscops\\Api\\Model\\ComposerAutoload' => 'Gyroscops\\Api\\Normalizer\\ComposerAutoloadNormalizer', 'Gyroscops\\Api\\Model\\ComposerAutoloadJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerAutoloadJsonldNormalizer', 'Gyroscops\\Api\\Model\\ComposerRepository' => 'Gyroscops\\Api\\Normalizer\\ComposerRepositoryNormalizer', 'Gyroscops\\Api\\Model\\ComposerRepositoryJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerRepositoryJsonldNormalizer', 'Gyroscops\\Api\\Model\\Configuration' => 'Gyroscops\\Api\\Normalizer\\ConfigurationNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationEdit' => 'Gyroscops\\Api\\Normalizer\\ConfigurationEditNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationRead' => 'Gyroscops\\Api\\Normalizer\\ConfigurationReadNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInput' => 'Gyroscops\\Api\\Normalizer\\ConfigurationChangeConfigurationValueInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigurationChangeConfigurationValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInput' => 'Gyroscops\\Api\\Normalizer\\ConfigurationCreateConfigurationInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigurationCreateConfigurationInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInput' => 'Gyroscops\\Api\\Normalizer\\ConfigurationRemoveConfigurationValueInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigurationRemoveConfigurationValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigurationJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationJsonldEdit' => 'Gyroscops\\Api\\Normalizer\\ConfigurationJsonldEditNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ConfigurationJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Context' => 'Gyroscops\\Api\\Normalizer\\ContextNormalizer', 'Gyroscops\\Api\\Model\\ContextJsonld' => 'Gyroscops\\Api\\Normalizer\\ContextJsonldNormalizer', 'Gyroscops\\Api\\Model\\CreateSecretInput' => 'Gyroscops\\Api\\Normalizer\\CreateSecretInputNormalizer', 'Gyroscops\\Api\\Model\\CreateSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\CreateSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Currency' => 'Gyroscops\\Api\\Normalizer\\CurrencyNormalizer', 'Gyroscops\\Api\\Model\\CurrencyJsonld' => 'Gyroscops\\Api\\Normalizer\\CurrencyJsonldNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentRead' => 'Gyroscops\\Api\\Normalizer\\EnvironmentReadNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentWrite' => 'Gyroscops\\Api\\Normalizer\\EnvironmentWriteNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInput' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConfigurationInputNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInput' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConstantInputNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInput' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromSecretInputNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInput' => 'Gyroscops\\Api\\Normalizer\\EnvironmentCreateEnvironmentInputNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentCreateEnvironmentInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonldWrite' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldWriteNormalizer', '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\\ExecutionInterruptPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer', '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\\ExecutionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionId' => 'Gyroscops\\Api\\Normalizer\\ExecutionIdNormalizer', 'Gyroscops\\Api\\Model\\ExecutionIdJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionIdJsonldNormalizer', '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\\ExecutionWorkflowInterruptWorkflowExecutionCommand' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowInterruptWorkflowExecutionCommandNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommand' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowResumeWorkflowExecutionCommandNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommand' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowTerminateWorkflowExecutionCommandNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonldNormalizer', '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\\Job' => 'Gyroscops\\Api\\Normalizer\\JobNormalizer', 'Gyroscops\\Api\\Model\\JobJsonld' => 'Gyroscops\\Api\\Normalizer\\JobJsonldNormalizer', 'Gyroscops\\Api\\Model\\Money' => 'Gyroscops\\Api\\Normalizer\\MoneyNormalizer', 'Gyroscops\\Api\\Model\\MoneyJsonld' => 'Gyroscops\\Api\\Normalizer\\MoneyJsonldNormalizer', '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\\OpaqueInterfaceJsonld' => 'Gyroscops\\Api\\Normalizer\\OpaqueInterfaceJsonldNormalizer', '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\\OrganizationAddCollaborators' => 'Gyroscops\\Api\\Normalizer\\OrganizationAddCollaboratorsNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonld' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonldAddCollaborators' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldAddCollaboratorsNormalizer', 'Gyroscops\\Api\\Model\\Pipeline' => 'Gyroscops\\Api\\Normalizer\\PipelineNormalizer', '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\\PipelineAddPipelineComposerAuthCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerAuthCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer', '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\\PipelineAddPipelineComposerPackageCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPackageCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerRepositoryCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandInputJsonldNormalizer', '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\\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\\PipelineDeclarePipelineScheduleImmediateCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleOnceCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer', '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\\PipelineRemovePipelineComposerAuthCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerAuthCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPackageCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerRepositoryCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer', '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\\PipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStep' => 'Gyroscops\\Api\\Normalizer\\PipelineStepNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldReadNormalizer', '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\\PriceRead' => 'Gyroscops\\Api\\Normalizer\\PriceReadNormalizer', 'Gyroscops\\Api\\Model\\PriceJsonld' => 'Gyroscops\\Api\\Normalizer\\PriceJsonldNormalizer', 'Gyroscops\\Api\\Model\\PriceJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PriceJsonldReadNormalizer', '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\\Region' => 'Gyroscops\\Api\\Normalizer\\RegionNormalizer', 'Gyroscops\\Api\\Model\\RegionJsonld' => 'Gyroscops\\Api\\Normalizer\\RegionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldNormalizer', 'Gyroscops\\Api\\Model\\Secret' => 'Gyroscops\\Api\\Normalizer\\SecretNormalizer', 'Gyroscops\\Api\\Model\\SecretEdit' => 'Gyroscops\\Api\\Normalizer\\SecretEditNormalizer', 'Gyroscops\\Api\\Model\\SecretRead' => 'Gyroscops\\Api\\Normalizer\\SecretReadNormalizer', 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInput' => 'Gyroscops\\Api\\Normalizer\\SecretChangeSecretValueInputNormalizer', 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretChangeSecretValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretCreateSecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretCreateSecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretCreateSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretCreateSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInput' => 'Gyroscops\\Api\\Normalizer\\SecretRemoveSecretValueInputNormalizer', 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretRemoveSecretValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonldEdit' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldEditNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonldRead' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Step' => 'Gyroscops\\Api\\Normalizer\\StepNormalizer', 'Gyroscops\\Api\\Model\\StepJsonld' => 'Gyroscops\\Api\\Normalizer\\StepJsonldNormalizer', 'Gyroscops\\Api\\Model\\Subscription' => 'Gyroscops\\Api\\Normalizer\\SubscriptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferRead' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferReadNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferWrite' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferWriteNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldWrite' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferJsonldWriteNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOption' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionType' => 'Gyroscops\\Api\\Normalizer\\SubscriptionTypeNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionTypeJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead' => 'Gyroscops\\Api\\Normalizer\\SubscriptionTypeJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\TraversableJsonld' => 'Gyroscops\\Api\\Normalizer\\TraversableJsonldNormalizer', '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\\UserId' => 'Gyroscops\\Api\\Normalizer\\UserIdNormalizer', 'Gyroscops\\Api\\Model\\UserIdJsonld' => 'Gyroscops\\Api\\Normalizer\\UserIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableRead' => 'Gyroscops\\Api\\Normalizer\\VariableReadNormalizer', 'Gyroscops\\Api\\Model\\VariableJsonldRead' => 'Gyroscops\\Api\\Normalizer\\VariableJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationRead' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationReadNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldRead' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldWrite' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationJsonldWriteNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationInput' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationInputNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantRead' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantReadNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldRead' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldWrite' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantJsonldWriteNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantInput' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantInputNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretRead' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretReadNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldRead' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldWrite' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldWriteNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretInput' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretInputNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowCompileWorkflowCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowCompileWorkflowCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleCrontabCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowRemoveWorkflowCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowRemoveWorkflowCommandInputJsonldNormalizer', '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\\AuthenticationMeGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', '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\\GatewayAkeneoOauthTokenPutLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Gyroscops\\Api\\Runtime\\Normalizer\\ReferenceNormalizer']; + protected $normalizers = ['Gyroscops\\Api\\Model\\AbstractPipelineJobRead' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJobReadNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldExecutionPipelineStepRead' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldExecutionPipelineStepReadNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldStepRead' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldStepReadNormalizer', 'Gyroscops\\Api\\Model\\Action' => 'Gyroscops\\Api\\Normalizer\\ActionNormalizer', 'Gyroscops\\Api\\Model\\ActionActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonldActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldActionReadNormalizer', '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\\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\\Buyable' => 'Gyroscops\\Api\\Normalizer\\BuyableNormalizer', 'Gyroscops\\Api\\Model\\BuyableJsonld' => 'Gyroscops\\Api\\Normalizer\\BuyableJsonldNormalizer', 'Gyroscops\\Api\\Model\\BuyablePrice' => 'Gyroscops\\Api\\Normalizer\\BuyablePriceNormalizer', 'Gyroscops\\Api\\Model\\BuyablePriceRead' => 'Gyroscops\\Api\\Normalizer\\BuyablePriceReadNormalizer', 'Gyroscops\\Api\\Model\\BuyablePriceJsonld' => 'Gyroscops\\Api\\Normalizer\\BuyablePriceJsonldNormalizer', 'Gyroscops\\Api\\Model\\BuyablePriceJsonldRead' => 'Gyroscops\\Api\\Normalizer\\BuyablePriceJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ColorJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ColorJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\CompilationCompilationRead' => 'Gyroscops\\Api\\Normalizer\\CompilationCompilationReadNormalizer', 'Gyroscops\\Api\\Model\\CompilationJsonldCompilationRead' => 'Gyroscops\\Api\\Normalizer\\CompilationJsonldCompilationReadNormalizer', 'Gyroscops\\Api\\Model\\Composer' => 'Gyroscops\\Api\\Normalizer\\ComposerNormalizer', 'Gyroscops\\Api\\Model\\ComposerJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerJsonldNormalizer', 'Gyroscops\\Api\\Model\\ComposerAuthentication' => 'Gyroscops\\Api\\Normalizer\\ComposerAuthenticationNormalizer', 'Gyroscops\\Api\\Model\\ComposerAuthenticationJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerAuthenticationJsonldNormalizer', 'Gyroscops\\Api\\Model\\ComposerAutoload' => 'Gyroscops\\Api\\Normalizer\\ComposerAutoloadNormalizer', 'Gyroscops\\Api\\Model\\ComposerAutoloadJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerAutoloadJsonldNormalizer', 'Gyroscops\\Api\\Model\\ComposerRepository' => 'Gyroscops\\Api\\Normalizer\\ComposerRepositoryNormalizer', 'Gyroscops\\Api\\Model\\ComposerRepositoryJsonld' => 'Gyroscops\\Api\\Normalizer\\ComposerRepositoryJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationConfigurationUpdate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationConfigurationUpdateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView' => 'Gyroscops\\Api\\Normalizer\\ConfigurationConfigurationViewNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInputConfigurationUpdate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationChangeConfigurationValueInputConfigurationUpdateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputConfigurationCreate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationCreateConfigurationInputConfigurationCreateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputJsonldConfigurationCreate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputConfigurationUpdate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationUpdate' => 'Gyroscops\\Api\\Normalizer\\ConfigurationJsonldConfigurationUpdateNormalizer', 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView' => 'Gyroscops\\Api\\Normalizer\\ConfigurationJsonldConfigurationViewNormalizer', 'Gyroscops\\Api\\Model\\Context' => 'Gyroscops\\Api\\Normalizer\\ContextNormalizer', 'Gyroscops\\Api\\Model\\ContextJsonld' => 'Gyroscops\\Api\\Normalizer\\ContextJsonldNormalizer', 'Gyroscops\\Api\\Model\\CreateSecretInput' => 'Gyroscops\\Api\\Normalizer\\CreateSecretInputNormalizer', 'Gyroscops\\Api\\Model\\CreateSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\CreateSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Currency' => 'Gyroscops\\Api\\Normalizer\\CurrencyNormalizer', 'Gyroscops\\Api\\Model\\CurrencyJsonld' => 'Gyroscops\\Api\\Normalizer\\CurrencyJsonldNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputEnvironmentCreate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonldVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\ExecutionExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionJsonldExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionJsonldExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionExecutionActionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionExecutionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonldExecutionActionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldExecutionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineExecutionPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonldExecutionPipelineRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJsonldExecutionPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStepExecutionPipelineStepRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepExecutionPipelineStepReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonldExecutionPipelineStepRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowExecutionWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowInterruptWorkflowExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowResumeWorkflowExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowTerminateWorkflowExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonldExecutionWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobExecutionWorkflowJobRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\Job' => 'Gyroscops\\Api\\Normalizer\\JobNormalizer', 'Gyroscops\\Api\\Model\\JobJsonld' => 'Gyroscops\\Api\\Normalizer\\JobJsonldNormalizer', 'Gyroscops\\Api\\Model\\Money' => 'Gyroscops\\Api\\Normalizer\\MoneyNormalizer', 'Gyroscops\\Api\\Model\\MoneyJsonld' => 'Gyroscops\\Api\\Normalizer\\MoneyJsonldNormalizer', '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\\OpaqueInterfaceJsonldSecretUpdate' => 'Gyroscops\\Api\\Normalizer\\OpaqueInterfaceJsonldSecretUpdateNormalizer', 'Gyroscops\\Api\\Model\\Option' => 'Gyroscops\\Api\\Normalizer\\OptionNormalizer', 'Gyroscops\\Api\\Model\\OptionJsonld' => 'Gyroscops\\Api\\Normalizer\\OptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead' => 'Gyroscops\\Api\\Normalizer\\OrganizationOrganizationReadNormalizer', 'Gyroscops\\Api\\Model\\OrganizationOrganizationWrite' => 'Gyroscops\\Api\\Normalizer\\OrganizationOrganizationWriteNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonldAddCollaborators' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldAddCollaboratorsNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldOrganizationReadNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationWrite' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldOrganizationWriteNormalizer', 'Gyroscops\\Api\\Model\\Pipeline' => 'Gyroscops\\Api\\Normalizer\\PipelineNormalizer', 'Gyroscops\\Api\\Model\\PipelinePipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelinePipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonldPipelineWrite' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonldPipelineReadPipelineSubresourceRead' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJobRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJobReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepStepRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepStepReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonldStepRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldStepReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbeStepProbeRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeStepProbeReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonldStepProbeRead' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeJsonldStepProbeReadNormalizer', '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\\ScheduleScheduleRead' => 'Gyroscops\\Api\\Normalizer\\ScheduleScheduleReadNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonldScheduleRead' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldScheduleReadNormalizer', 'Gyroscops\\Api\\Model\\ScheduleTypeJsonldScheduleRead' => 'Gyroscops\\Api\\Normalizer\\ScheduleTypeJsonldScheduleReadNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretRead' => 'Gyroscops\\Api\\Normalizer\\SecretSecretReadNormalizer', 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputSecretUpdate' => 'Gyroscops\\Api\\Normalizer\\SecretChangeSecretValueInputSecretUpdateNormalizer', 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputJsonldSecretUpdate' => 'Gyroscops\\Api\\Normalizer\\SecretChangeSecretValueInputJsonldSecretUpdateNormalizer', 'Gyroscops\\Api\\Model\\SecretCreateSecretInputSecretCreate' => 'Gyroscops\\Api\\Normalizer\\SecretCreateSecretInputSecretCreateNormalizer', 'Gyroscops\\Api\\Model\\SecretCreateSecretInputJsonldSecretCreate' => 'Gyroscops\\Api\\Normalizer\\SecretCreateSecretInputJsonldSecretCreateNormalizer', 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputSecretUpdate' => 'Gyroscops\\Api\\Normalizer\\SecretRemoveSecretValueInputSecretUpdateNormalizer', 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputJsonldSecretUpdate' => 'Gyroscops\\Api\\Normalizer\\SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldSecretReadNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonldSecretUpdate' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldSecretUpdateNormalizer', 'Gyroscops\\Api\\Model\\Step' => 'Gyroscops\\Api\\Normalizer\\StepNormalizer', 'Gyroscops\\Api\\Model\\StepJsonld' => 'Gyroscops\\Api\\Normalizer\\StepJsonldNormalizer', 'Gyroscops\\Api\\Model\\Subscription' => 'Gyroscops\\Api\\Normalizer\\SubscriptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferRead' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferReadNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferWrite' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferWriteNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldWrite' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOfferJsonldWriteNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOption' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionType' => 'Gyroscops\\Api\\Normalizer\\SubscriptionTypeNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionTypeJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead' => 'Gyroscops\\Api\\Normalizer\\SubscriptionTypeJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Template' => 'Gyroscops\\Api\\Normalizer\\TemplateNormalizer', 'Gyroscops\\Api\\Model\\TemplateTemplateCreate' => 'Gyroscops\\Api\\Normalizer\\TemplateTemplateCreateNormalizer', 'Gyroscops\\Api\\Model\\TemplateTemplateList' => 'Gyroscops\\Api\\Normalizer\\TemplateTemplateListNormalizer', 'Gyroscops\\Api\\Model\\TemplateTemplateView' => 'Gyroscops\\Api\\Normalizer\\TemplateTemplateViewNormalizer', 'Gyroscops\\Api\\Model\\TemplateDeclareSatelliteTemplateInput' => 'Gyroscops\\Api\\Normalizer\\TemplateDeclareSatelliteTemplateInputNormalizer', 'Gyroscops\\Api\\Model\\TemplateDeclareSatelliteTemplateInputJsonld' => 'Gyroscops\\Api\\Normalizer\\TemplateDeclareSatelliteTemplateInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\TemplateJsonld' => 'Gyroscops\\Api\\Normalizer\\TemplateJsonldNormalizer', 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateCreate' => 'Gyroscops\\Api\\Normalizer\\TemplateJsonldTemplateCreateNormalizer', 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateList' => 'Gyroscops\\Api\\Normalizer\\TemplateJsonldTemplateListNormalizer', 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateUpdate' => 'Gyroscops\\Api\\Normalizer\\TemplateJsonldTemplateUpdateNormalizer', 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateView' => 'Gyroscops\\Api\\Normalizer\\TemplateJsonldTemplateViewNormalizer', 'Gyroscops\\Api\\Model\\UserUserRead' => 'Gyroscops\\Api\\Normalizer\\UserUserReadNormalizer', 'Gyroscops\\Api\\Model\\UserUserWrite' => 'Gyroscops\\Api\\Normalizer\\UserUserWriteNormalizer', 'Gyroscops\\Api\\Model\\UserJsonldUserRead' => 'Gyroscops\\Api\\Normalizer\\UserJsonldUserReadNormalizer', 'Gyroscops\\Api\\Model\\UserJsonldUserWrite' => 'Gyroscops\\Api\\Normalizer\\UserJsonldUserWriteNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationAuthorizationReadNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationWrite' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationAuthorizationWriteNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationJsonldAuthorizationReadNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationWrite' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationJsonldAuthorizationWriteNormalizer', 'Gyroscops\\Api\\Model\\VariableVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableJsonldVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableJsonldVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationVariableUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationVariableUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldVariableUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationJsonldVariableUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationInputEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonldEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantVariableUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantVariableUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantJsonldVariableUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantInputEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantInputEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonldEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromConstantInputJsonldEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretVariableUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretVariableUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldVariableUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableViewEnvironmentView' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretInputEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretInputEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonldEnvironmentUpdate' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretInputJsonldEnvironmentUpdateNormalizer', 'Gyroscops\\Api\\Model\\WorkflowWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandJsonldWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowCompileWorkflowCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleCrontabCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowRemoveWorkflowCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJsonldWorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJsonldWorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionActionRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionActionReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldActionRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldActionReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelinePipelineRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelinePipelineReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldPipelineRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead' => 'Gyroscops\\Api\\Normalizer\\WorkspaceWorkspaceReadNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceWrite' => 'Gyroscops\\Api\\Normalizer\\WorkspaceWorkspaceWriteNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead' => 'Gyroscops\\Api\\Normalizer\\WorkspaceJsonldWorkspaceReadNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceWrite' => 'Gyroscops\\Api\\Normalizer\\WorkspaceJsonldWorkspaceWriteNormalizer', 'Gyroscops\\Api\\Model\\Token' => 'Gyroscops\\Api\\Normalizer\\TokenNormalizer', 'Gyroscops\\Api\\Model\\Credentials' => 'Gyroscops\\Api\\Normalizer\\CredentialsNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdExternalCollaboratorsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionOffersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesIdUsersGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigurationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesFromUrlGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesOauthStateGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', '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\\GatewayAkeneoOauthTokenPutLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeTemplatesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Gyroscops\\Api\\Runtime\\Normalizer\\ReferenceNormalizer']; protected $normalizersCache = []; public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return array_key_exists($type, $this->normalizers); + return \array_key_exists($type, $this->normalizers); } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && array_key_exists(get_class($data), $this->normalizers); + return \is_object($data) && \array_key_exists($data::class, $this->normalizers); } /** @@ -43,15 +37,12 @@ public function supportsNormalization($data, $format = null, array $context = [] */ public function normalize($object, $format = null, array $context = []) { - $normalizerClass = $this->normalizers[get_class($object)]; + $normalizerClass = $this->normalizers[$object::class]; $normalizer = $this->getNormalizer($normalizerClass); return $normalizer->normalize($object, $format, $context); } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { $denormalizerClass = $this->normalizers[$class]; diff --git a/src/Normalizer/JobJsonldNormalizer.php b/src/Normalizer/JobJsonldNormalizer.php index da14c95b..7b238757 100644 --- a/src/Normalizer/JobJsonldNormalizer.php +++ b/src/Normalizer/JobJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class JobJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\JobJsonld'; + return 'Gyroscops\\Api\\Model\\JobJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\JobJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\JobJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,54 +43,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $value = $data['pipeline']; - if (is_array($data['pipeline']) and isset($data['pipeline']['steps']) and isset($data['pipeline']['code'])) { + if (\is_array($data['pipeline']) && isset($data['pipeline']['steps']) && isset($data['pipeline']['code'])) { $value = $this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineJsonld', 'json', $context); } $object->setPipeline($value); unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $value_1 = $data['action']; - if (is_array($data['action']) and isset($data['action']['configuration'])) { + if (\is_array($data['action']) && isset($data['action']['configuration'])) { $value_1 = $this->denormalizer->denormalize($data['action'], 'Gyroscops\\Api\\Model\\ActionJsonld', 'json', $context); } $object->setAction($value_1); unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } foreach ($data as $key => $value_2) { @@ -119,14 +110,14 @@ public function normalize($object, $format = null, array $context = []) $data = []; if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { $value = $object->getPipeline(); - if (is_object($object->getPipeline())) { + if (\is_object($object->getPipeline())) { $value = $this->normalizer->normalize($object->getPipeline(), 'json', $context); } $data['pipeline'] = $value; } if ($object->isInitialized('action') && null !== $object->getAction()) { $value_1 = $object->getAction(); - if (is_object($object->getAction())) { + if (\is_object($object->getAction())) { $value_1 = $this->normalizer->normalize($object->getAction(), 'json', $context); } $data['action'] = $value_1; diff --git a/src/Normalizer/JobNormalizer.php b/src/Normalizer/JobNormalizer.php index 98846ed1..4ee6500b 100644 --- a/src/Normalizer/JobNormalizer.php +++ b/src/Normalizer/JobNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class JobNormalizer implements DenormalizerInterface, NormalizerInterface, Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Job'; + return 'Gyroscops\\Api\\Model\\Job' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Job'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Job' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,36 +43,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $value = $data['pipeline']; - if (is_array($data['pipeline']) and isset($data['pipeline']['steps']) and isset($data['pipeline']['code'])) { + if (\is_array($data['pipeline']) && isset($data['pipeline']['steps']) && isset($data['pipeline']['code'])) { $value = $this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\Pipeline', 'json', $context); } $object->setPipeline($value); unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $value_1 = $data['action']; - if (is_array($data['action']) and isset($data['action']['configuration'])) { + if (\is_array($data['action']) && isset($data['action']['configuration'])) { $value_1 = $this->denormalizer->denormalize($data['action'], 'Gyroscops\\Api\\Model\\Action', 'json', $context); } $object->setAction($value_1); unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } foreach ($data as $key => $value_2) { @@ -101,14 +92,14 @@ public function normalize($object, $format = null, array $context = []) $data = []; if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { $value = $object->getPipeline(); - if (is_object($object->getPipeline())) { + if (\is_object($object->getPipeline())) { $value = $this->normalizer->normalize($object->getPipeline(), 'json', $context); } $data['pipeline'] = $value; } if ($object->isInitialized('action') && null !== $object->getAction()) { $value_1 = $object->getAction(); - if (is_object($object->getAction())) { + if (\is_object($object->getAction())) { $value_1 = $this->normalizer->normalize($object->getAction(), 'json', $context); } $data['action'] = $value_1; diff --git a/src/Normalizer/MoneyJsonldNormalizer.php b/src/Normalizer/MoneyJsonldNormalizer.php index 3b6c122c..286db2c9 100644 --- a/src/Normalizer/MoneyJsonldNormalizer.php +++ b/src/Normalizer/MoneyJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class MoneyJsonldNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\MoneyJsonld'; + return 'Gyroscops\\Api\\Model\\MoneyJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\MoneyJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\MoneyJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,98 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('amount', $data) && $data['amount'] !== null) { + if (\array_key_exists('amount', $data) && null !== $data['amount']) { $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); unset($data['amount']); - } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { $object->setAmount(null); } - if (\array_key_exists('currency', $data) && $data['currency'] !== null) { + if (\array_key_exists('currency', $data) && null !== $data['currency']) { $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\CurrencyJsonld', 'json', $context)); unset($data['currency']); - } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { $object->setCurrency(null); } - if (\array_key_exists('context', $data) && $data['context'] !== null) { + if (\array_key_exists('context', $data) && null !== $data['context']) { $object->setContext2($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\ContextJsonld', 'json', $context)); unset($data['context']); - } elseif (\array_key_exists('context', $data) && $data['context'] === null) { + } elseif (\array_key_exists('context', $data) && null === $data['context']) { $object->setContext2(null); } - if (\array_key_exists('minorAmount', $data) && $data['minorAmount'] !== null) { + if (\array_key_exists('minorAmount', $data) && null !== $data['minorAmount']) { $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); unset($data['minorAmount']); - } elseif (\array_key_exists('minorAmount', $data) && $data['minorAmount'] === null) { + } elseif (\array_key_exists('minorAmount', $data) && null === $data['minorAmount']) { $object->setMinorAmount(null); } - if (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] !== null) { + if (\array_key_exists('unscaledAmount', $data) && null !== $data['unscaledAmount']) { $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); unset($data['unscaledAmount']); - } elseif (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] === null) { + } elseif (\array_key_exists('unscaledAmount', $data) && null === $data['unscaledAmount']) { $object->setUnscaledAmount(null); } - if (\array_key_exists('amounts', $data) && $data['amounts'] !== null) { + if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { $values = []; foreach ($data['amounts'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumberJsonld', 'json', $context); } $object->setAmounts($values); unset($data['amounts']); - } elseif (\array_key_exists('amounts', $data) && $data['amounts'] === null) { + } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { $object->setAmounts(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/MoneyNormalizer.php b/src/Normalizer/MoneyNormalizer.php index e6fa0c20..08816b1f 100644 --- a/src/Normalizer/MoneyNormalizer.php +++ b/src/Normalizer/MoneyNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class MoneyNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Money'; + return 'Gyroscops\\Api\\Model\\Money' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Money'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Money' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,80 +43,80 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('amount', $data) && $data['amount'] !== null) { + if (\array_key_exists('amount', $data) && null !== $data['amount']) { $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); unset($data['amount']); - } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { $object->setAmount(null); } - if (\array_key_exists('currency', $data) && $data['currency'] !== null) { + if (\array_key_exists('currency', $data) && null !== $data['currency']) { $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\Currency', 'json', $context)); unset($data['currency']); - } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { $object->setCurrency(null); } - if (\array_key_exists('context', $data) && $data['context'] !== null) { + if (\array_key_exists('context', $data) && null !== $data['context']) { $object->setContext($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\Context', 'json', $context)); unset($data['context']); - } elseif (\array_key_exists('context', $data) && $data['context'] === null) { + } elseif (\array_key_exists('context', $data) && null === $data['context']) { $object->setContext(null); } - if (\array_key_exists('minorAmount', $data) && $data['minorAmount'] !== null) { + if (\array_key_exists('minorAmount', $data) && null !== $data['minorAmount']) { $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); unset($data['minorAmount']); - } elseif (\array_key_exists('minorAmount', $data) && $data['minorAmount'] === null) { + } elseif (\array_key_exists('minorAmount', $data) && null === $data['minorAmount']) { $object->setMinorAmount(null); } - if (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] !== null) { + if (\array_key_exists('unscaledAmount', $data) && null !== $data['unscaledAmount']) { $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); unset($data['unscaledAmount']); - } elseif (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] === null) { + } elseif (\array_key_exists('unscaledAmount', $data) && null === $data['unscaledAmount']) { $object->setUnscaledAmount(null); } - if (\array_key_exists('amounts', $data) && $data['amounts'] !== null) { + if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { $values = []; foreach ($data['amounts'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumber', 'json', $context); } $object->setAmounts($values); unset($data['amounts']); - } elseif (\array_key_exists('amounts', $data) && $data['amounts'] === null) { + } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { $object->setAmounts(null); } - if (\array_key_exists('sign', $data) && $data['sign'] !== null) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); unset($data['sign']); - } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && $data['zero'] !== null) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); unset($data['zero']); - } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && $data['negative'] !== null) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); unset($data['negative']); - } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); unset($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && $data['positive'] !== null) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); unset($data['positive']); - } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); unset($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { $object->setPositiveOrZero(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php index c3b81dd1..6c3d16d0 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class OnPremiseRequestJsonldOnPremiseRequestReadNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,58 +43,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) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && $data['message'] !== null) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); unset($data['message']); - } elseif (\array_key_exists('message', $data) && $data['message'] === null) { + } elseif (\array_key_exists('message', $data) && null === $data['message']) { $object->setMessage(null); } - if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); unset($data['createdAt']); - } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { $object->setCreatedAt(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php index 39557aa3..9669fe63 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,46 +43,46 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && $data['message'] !== null) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); unset($data['message']); - } elseif (\array_key_exists('message', $data) && $data['message'] === null) { + } elseif (\array_key_exists('message', $data) && null === $data['message']) { $object->setMessage(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php index e9bff0e9..9b16d2f0 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class OnPremiseRequestOnPremiseRequestReadNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && $data['message'] !== null) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); unset($data['message']); - } elseif (\array_key_exists('message', $data) && $data['message'] === null) { + } elseif (\array_key_exists('message', $data) && null === $data['message']) { $object->setMessage(null); } - if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); unset($data['createdAt']); - } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { $object->setCreatedAt(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php index 33ac17b4..4c643fd3 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class OnPremiseRequestOnPremiseRequestWriteNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && $data['message'] !== null) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); unset($data['message']); - } elseif (\array_key_exists('message', $data) && $data['message'] === null) { + } elseif (\array_key_exists('message', $data) && null === $data['message']) { $object->setMessage(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/OpaqueInterfaceJsonldNormalizer.php b/src/Normalizer/OpaqueInterfaceJsonldNormalizer.php deleted file mode 100644 index 74e4444d..00000000 --- a/src/Normalizer/OpaqueInterfaceJsonldNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/OpaqueInterfaceJsonldSecretUpdateNormalizer.php b/src/Normalizer/OpaqueInterfaceJsonldSecretUpdateNormalizer.php new file mode 100644 index 00000000..8465275f --- /dev/null +++ b/src/Normalizer/OpaqueInterfaceJsonldSecretUpdateNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/OptionJsonldNormalizer.php b/src/Normalizer/OptionJsonldNormalizer.php index 8bb6bed2..60d42288 100644 --- a/src/Normalizer/OptionJsonldNormalizer.php +++ b/src/Normalizer/OptionJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class OptionJsonldNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OptionJsonld'; + return 'Gyroscops\\Api\\Model\\OptionJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OptionJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OptionJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,102 +43,102 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('offer', $data) && $data['offer'] !== null) { + if (\array_key_exists('offer', $data) && null !== $data['offer']) { $object->setOffer($data['offer']); unset($data['offer']); - } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('sku', $data) && $data['sku'] !== null) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); unset($data['sku']); - } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { $object->setSku(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { $object->setSlug(null); } - if (\array_key_exists('shortDescription', $data) && $data['shortDescription'] !== null) { + if (\array_key_exists('shortDescription', $data) && null !== $data['shortDescription']) { $object->setShortDescription($data['shortDescription']); unset($data['shortDescription']); - } elseif (\array_key_exists('shortDescription', $data) && $data['shortDescription'] === null) { + } elseif (\array_key_exists('shortDescription', $data) && null === $data['shortDescription']) { $object->setShortDescription(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('features', $data) && $data['features'] !== null) { + if (\array_key_exists('features', $data) && null !== $data['features']) { $values = []; foreach ($data['features'] as $value) { $values[] = $value; } $object->setFeatures($values); unset($data['features']); - } elseif (\array_key_exists('features', $data) && $data['features'] === null) { + } elseif (\array_key_exists('features', $data) && null === $data['features']) { $object->setFeatures(null); } - if (\array_key_exists('priceList', $data) && $data['priceList'] !== null) { + if (\array_key_exists('priceList', $data) && null !== $data['priceList']) { $values_1 = []; foreach ($data['priceList'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\BuyablePriceJsonld', 'json', $context); } $object->setPriceList($values_1); unset($data['priceList']); - } elseif (\array_key_exists('priceList', $data) && $data['priceList'] === null) { + } elseif (\array_key_exists('priceList', $data) && null === $data['priceList']) { $object->setPriceList(null); } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/OptionNormalizer.php b/src/Normalizer/OptionNormalizer.php index a7b073d4..791ebff5 100644 --- a/src/Normalizer/OptionNormalizer.php +++ b/src/Normalizer/OptionNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class OptionNormalizer implements DenormalizerInterface, NormalizerInterface, De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Option'; + return 'Gyroscops\\Api\\Model\\Option' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Option'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Option' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,90 +43,90 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('offer', $data) && $data['offer'] !== null) { + if (\array_key_exists('offer', $data) && null !== $data['offer']) { $object->setOffer($data['offer']); unset($data['offer']); - } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('sku', $data) && $data['sku'] !== null) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); unset($data['sku']); - } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { $object->setSku(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { $object->setSlug(null); } - if (\array_key_exists('shortDescription', $data) && $data['shortDescription'] !== null) { + if (\array_key_exists('shortDescription', $data) && null !== $data['shortDescription']) { $object->setShortDescription($data['shortDescription']); unset($data['shortDescription']); - } elseif (\array_key_exists('shortDescription', $data) && $data['shortDescription'] === null) { + } elseif (\array_key_exists('shortDescription', $data) && null === $data['shortDescription']) { $object->setShortDescription(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('features', $data) && $data['features'] !== null) { + if (\array_key_exists('features', $data) && null !== $data['features']) { $values = []; foreach ($data['features'] as $value) { $values[] = $value; } $object->setFeatures($values); unset($data['features']); - } elseif (\array_key_exists('features', $data) && $data['features'] === null) { + } elseif (\array_key_exists('features', $data) && null === $data['features']) { $object->setFeatures(null); } - if (\array_key_exists('priceList', $data) && $data['priceList'] !== null) { + if (\array_key_exists('priceList', $data) && null !== $data['priceList']) { $values_1 = []; foreach ($data['priceList'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Price', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\BuyablePrice', 'json', $context); } $object->setPriceList($values_1); unset($data['priceList']); - } elseif (\array_key_exists('priceList', $data) && $data['priceList'] === null) { + } elseif (\array_key_exists('priceList', $data) && null === $data['priceList']) { $object->setPriceList(null); } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/OrganizationAddCollaboratorsNormalizer.php b/src/Normalizer/OrganizationAddCollaboratorsNormalizer.php deleted file mode 100644 index 6798dd9a..00000000 --- a/src/Normalizer/OrganizationAddCollaboratorsNormalizer.php +++ /dev/null @@ -1,95 +0,0 @@ -setExternalCollaborators($values); - unset($data['externalCollaborators']); - } elseif (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] === null) { - $object->setExternalCollaborators(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('externalCollaborators') && null !== $object->getExternalCollaborators()) { - $values = []; - foreach ($object->getExternalCollaborators() as $value) { - $values[] = $value; - } - $data['externalCollaborators'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/OrganizationJsonldAddCollaboratorsNormalizer.php b/src/Normalizer/OrganizationJsonldAddCollaboratorsNormalizer.php index 75a3390a..48af9f11 100644 --- a/src/Normalizer/OrganizationJsonldAddCollaboratorsNormalizer.php +++ b/src/Normalizer/OrganizationJsonldAddCollaboratorsNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class OrganizationJsonldAddCollaboratorsNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OrganizationJsonldAddCollaborators'; + return 'Gyroscops\\Api\\Model\\OrganizationJsonldAddCollaborators' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OrganizationJsonldAddCollaborators'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OrganizationJsonldAddCollaborators' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,37 +43,27 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] !== null) { - $values = []; - foreach ($data['externalCollaborators'] as $value) { - $values[] = $value; - } - $object->setExternalCollaborators($values); - unset($data['externalCollaborators']); - } elseif (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] === null) { - $object->setExternalCollaborators(null); - } - foreach ($data as $key => $value_1) { + foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; + $object[$key] = $value; } } @@ -95,16 +76,9 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('externalCollaborators') && null !== $object->getExternalCollaborators()) { - $values = []; - foreach ($object->getExternalCollaborators() as $value) { - $values[] = $value; - } - $data['externalCollaborators'] = $values; - } - foreach ($object as $key => $value_1) { + foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; + $data[$key] = $value; } } diff --git a/src/Normalizer/OrganizationJsonldNormalizer.php b/src/Normalizer/OrganizationJsonldNormalizer.php deleted file mode 100644 index 4c2648b1..00000000 --- a/src/Normalizer/OrganizationJsonldNormalizer.php +++ /dev/null @@ -1,204 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { - $values = []; - foreach ($data['authorizations'] as $value) { - $values[] = $value; - } - $object->setAuthorizations($values); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - if (\array_key_exists('name', $data) && $data['name'] !== null) { - $object->setName($data['name']); - unset($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']); - unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { - $object->setSlug(null); - } - if (\array_key_exists('stripeCode', $data) && $data['stripeCode'] !== null) { - $object->setStripeCode($data['stripeCode']); - unset($data['stripeCode']); - } elseif (\array_key_exists('stripeCode', $data) && $data['stripeCode'] === null) { - $object->setStripeCode(null); - } - 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); - unset($data['users']); - } elseif (\array_key_exists('users', $data) && $data['users'] === null) { - $object->setUsers(null); - } - 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); - unset($data['externalCollaborators']); - } elseif (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] === null) { - $object->setExternalCollaborators(null); - } - 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); - unset($data['workspaces']); - } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { - $object->setWorkspaces(null); - } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { - $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); - unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { - $object->setActiveUntil(null); - } - foreach ($data as $key => $value_4) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_4; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { - $values = []; - foreach ($object->getAuthorizations() as $value) { - $values[] = $value; - } - $data['authorizations'] = $values; - } - $data['name'] = $object->getName(); - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - if ($object->isInitialized('stripeCode') && null !== $object->getStripeCode()) { - $data['stripeCode'] = $object->getStripeCode(); - } - if ($object->isInitialized('users') && null !== $object->getUsers()) { - $values_1 = []; - foreach ($object->getUsers() as $value_1) { - $values_1[] = $value_1; - } - $data['users'] = $values_1; - } - if ($object->isInitialized('externalCollaborators') && null !== $object->getExternalCollaborators()) { - $values_2 = []; - foreach ($object->getExternalCollaborators() as $value_2) { - $values_2[] = $value_2; - } - $data['externalCollaborators'] = $values_2; - } - if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { - $values_3 = []; - foreach ($object->getWorkspaces() as $value_3) { - $values_3[] = $value_3; - } - $data['workspaces'] = $values_3; - } - if ($object->isInitialized('activeUntil') && null !== $object->getActiveUntil()) { - $data['activeUntil'] = $object->getActiveUntil()->format('Y-m-d\\TH:i:sP'); - } - foreach ($object as $key => $value_4) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_4; - } - } - - return $data; - } -} diff --git a/src/Normalizer/OrganizationJsonldOrganizationReadNormalizer.php b/src/Normalizer/OrganizationJsonldOrganizationReadNormalizer.php new file mode 100644 index 00000000..4afd7f20 --- /dev/null +++ b/src/Normalizer/OrganizationJsonldOrganizationReadNormalizer.php @@ -0,0 +1,195 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('stripeCode', $data) && null !== $data['stripeCode']) { + $object->setStripeCode($data['stripeCode']); + unset($data['stripeCode']); + } elseif (\array_key_exists('stripeCode', $data) && null === $data['stripeCode']) { + $object->setStripeCode(null); + } + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; + foreach ($data['users'] as $value_1) { + $values_1[] = $value_1; + } + $object->setUsers($values_1); + unset($data['users']); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); + } + if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { + $values_2 = []; + foreach ($data['externalCollaborators'] as $value_2) { + $values_2[] = $value_2; + } + $object->setExternalCollaborators($values_2); + unset($data['externalCollaborators']); + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { + $object->setExternalCollaborators(null); + } + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_3 = []; + foreach ($data['workspaces'] as $value_3) { + $values_3[] = $value_3; + } + $object->setWorkspaces($values_3); + unset($data['workspaces']); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); + } + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { + $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); + unset($data['activeUntil']); + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { + $object->setActiveUntil(null); + } + foreach ($data as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_4; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + } + $data['name'] = $object->getName(); + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + if ($object->isInitialized('stripeCode') && null !== $object->getStripeCode()) { + $data['stripeCode'] = $object->getStripeCode(); + } + if ($object->isInitialized('users') && null !== $object->getUsers()) { + $values_1 = []; + foreach ($object->getUsers() as $value_1) { + $values_1[] = $value_1; + } + $data['users'] = $values_1; + } + if ($object->isInitialized('externalCollaborators') && null !== $object->getExternalCollaborators()) { + $values_2 = []; + foreach ($object->getExternalCollaborators() as $value_2) { + $values_2[] = $value_2; + } + $data['externalCollaborators'] = $values_2; + } + if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { + $values_3 = []; + foreach ($object->getWorkspaces() as $value_3) { + $values_3[] = $value_3; + } + $data['workspaces'] = $values_3; + } + if ($object->isInitialized('activeUntil') && null !== $object->getActiveUntil()) { + $data['activeUntil'] = $object->getActiveUntil()->format('Y-m-d\\TH:i:sP'); + } + foreach ($object as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_4; + } + } + + return $data; + } +} diff --git a/src/Normalizer/OrganizationJsonldOrganizationWriteNormalizer.php b/src/Normalizer/OrganizationJsonldOrganizationWriteNormalizer.php new file mode 100644 index 00000000..9c166f77 --- /dev/null +++ b/src/Normalizer/OrganizationJsonldOrganizationWriteNormalizer.php @@ -0,0 +1,103 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('stripeCode', $data) && null !== $data['stripeCode']) { + $object->setStripeCode($data['stripeCode']); + unset($data['stripeCode']); + } elseif (\array_key_exists('stripeCode', $data) && null === $data['stripeCode']) { + $object->setStripeCode(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['name'] = $object->getName(); + if ($object->isInitialized('stripeCode') && null !== $object->getStripeCode()) { + $data['stripeCode'] = $object->getStripeCode(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/OrganizationNormalizer.php b/src/Normalizer/OrganizationNormalizer.php deleted file mode 100644 index 16f3c3f1..00000000 --- a/src/Normalizer/OrganizationNormalizer.php +++ /dev/null @@ -1,186 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { - $values = []; - foreach ($data['authorizations'] as $value) { - $values[] = $value; - } - $object->setAuthorizations($values); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - if (\array_key_exists('name', $data) && $data['name'] !== null) { - $object->setName($data['name']); - unset($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']); - unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { - $object->setSlug(null); - } - if (\array_key_exists('stripeCode', $data) && $data['stripeCode'] !== null) { - $object->setStripeCode($data['stripeCode']); - unset($data['stripeCode']); - } elseif (\array_key_exists('stripeCode', $data) && $data['stripeCode'] === null) { - $object->setStripeCode(null); - } - 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); - unset($data['users']); - } elseif (\array_key_exists('users', $data) && $data['users'] === null) { - $object->setUsers(null); - } - 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); - unset($data['externalCollaborators']); - } elseif (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] === null) { - $object->setExternalCollaborators(null); - } - 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); - unset($data['workspaces']); - } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { - $object->setWorkspaces(null); - } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { - $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); - unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { - $object->setActiveUntil(null); - } - foreach ($data as $key => $value_4) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_4; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { - $values = []; - foreach ($object->getAuthorizations() as $value) { - $values[] = $value; - } - $data['authorizations'] = $values; - } - $data['name'] = $object->getName(); - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - if ($object->isInitialized('stripeCode') && null !== $object->getStripeCode()) { - $data['stripeCode'] = $object->getStripeCode(); - } - if ($object->isInitialized('users') && null !== $object->getUsers()) { - $values_1 = []; - foreach ($object->getUsers() as $value_1) { - $values_1[] = $value_1; - } - $data['users'] = $values_1; - } - if ($object->isInitialized('externalCollaborators') && null !== $object->getExternalCollaborators()) { - $values_2 = []; - foreach ($object->getExternalCollaborators() as $value_2) { - $values_2[] = $value_2; - } - $data['externalCollaborators'] = $values_2; - } - if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { - $values_3 = []; - foreach ($object->getWorkspaces() as $value_3) { - $values_3[] = $value_3; - } - $data['workspaces'] = $values_3; - } - if ($object->isInitialized('activeUntil') && null !== $object->getActiveUntil()) { - $data['activeUntil'] = $object->getActiveUntil()->format('Y-m-d\\TH:i:sP'); - } - foreach ($object as $key => $value_4) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_4; - } - } - - return $data; - } -} diff --git a/src/Normalizer/OrganizationOrganizationReadNormalizer.php b/src/Normalizer/OrganizationOrganizationReadNormalizer.php new file mode 100644 index 00000000..d751ad08 --- /dev/null +++ b/src/Normalizer/OrganizationOrganizationReadNormalizer.php @@ -0,0 +1,177 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('stripeCode', $data) && null !== $data['stripeCode']) { + $object->setStripeCode($data['stripeCode']); + unset($data['stripeCode']); + } elseif (\array_key_exists('stripeCode', $data) && null === $data['stripeCode']) { + $object->setStripeCode(null); + } + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; + foreach ($data['users'] as $value_1) { + $values_1[] = $value_1; + } + $object->setUsers($values_1); + unset($data['users']); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); + } + if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { + $values_2 = []; + foreach ($data['externalCollaborators'] as $value_2) { + $values_2[] = $value_2; + } + $object->setExternalCollaborators($values_2); + unset($data['externalCollaborators']); + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { + $object->setExternalCollaborators(null); + } + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_3 = []; + foreach ($data['workspaces'] as $value_3) { + $values_3[] = $value_3; + } + $object->setWorkspaces($values_3); + unset($data['workspaces']); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); + } + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { + $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); + unset($data['activeUntil']); + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { + $object->setActiveUntil(null); + } + foreach ($data as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_4; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + } + $data['name'] = $object->getName(); + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + if ($object->isInitialized('stripeCode') && null !== $object->getStripeCode()) { + $data['stripeCode'] = $object->getStripeCode(); + } + if ($object->isInitialized('users') && null !== $object->getUsers()) { + $values_1 = []; + foreach ($object->getUsers() as $value_1) { + $values_1[] = $value_1; + } + $data['users'] = $values_1; + } + if ($object->isInitialized('externalCollaborators') && null !== $object->getExternalCollaborators()) { + $values_2 = []; + foreach ($object->getExternalCollaborators() as $value_2) { + $values_2[] = $value_2; + } + $data['externalCollaborators'] = $values_2; + } + if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { + $values_3 = []; + foreach ($object->getWorkspaces() as $value_3) { + $values_3[] = $value_3; + } + $data['workspaces'] = $values_3; + } + if ($object->isInitialized('activeUntil') && null !== $object->getActiveUntil()) { + $data['activeUntil'] = $object->getActiveUntil()->format('Y-m-d\\TH:i:sP'); + } + foreach ($object as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_4; + } + } + + return $data; + } +} diff --git a/src/Normalizer/OrganizationOrganizationWriteNormalizer.php b/src/Normalizer/OrganizationOrganizationWriteNormalizer.php new file mode 100644 index 00000000..c09c58fc --- /dev/null +++ b/src/Normalizer/OrganizationOrganizationWriteNormalizer.php @@ -0,0 +1,85 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('stripeCode', $data) && null !== $data['stripeCode']) { + $object->setStripeCode($data['stripeCode']); + unset($data['stripeCode']); + } elseif (\array_key_exists('stripeCode', $data) && null === $data['stripeCode']) { + $object->setStripeCode(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['name'] = $object->getName(); + if ($object->isInitialized('stripeCode') && null !== $object->getStripeCode()) { + $data['stripeCode'] = $object->getStripeCode(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php deleted file mode 100644 index 61271fcf..00000000 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,140 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..61b0ad3e --- /dev/null +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php deleted file mode 100644 index 4ea37778..00000000 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..ae7b113a --- /dev/null +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php deleted file mode 100644 index 9453475b..00000000 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php deleted file mode 100644 index a4b3114b..00000000 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,140 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..9f497c69 --- /dev/null +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php deleted file mode 100644 index a51ba752..00000000 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..11019647 --- /dev/null +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php deleted file mode 100644 index 3216f425..00000000 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer.php deleted file mode 100644 index fc810cba..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,112 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { - $object->setToken(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('url') && null !== $object->getUrl()) { - $data['url'] = $object->getUrl(); - } - $data['token'] = $object->getToken(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..e340b273 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputNormalizer.php deleted file mode 100644 index 8d7fc6bc..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputNormalizer.php +++ /dev/null @@ -1,94 +0,0 @@ -setUrl($data['url']); - unset($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']); - unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { - $object->setToken(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('url') && null !== $object->getUrl()) { - $data['url'] = $object->getUrl(); - } - $data['token'] = $object->getToken(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..c0f017cb --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php deleted file mode 100644 index 8bd2b2f9..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php deleted file mode 100644 index cc91cc95..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,118 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { - $object->setNamespace(null); - } - if (\array_key_exists('paths', $data) && $data['paths'] !== null) { - $values = []; - foreach ($data['paths'] as $value) { - $values[] = $value; - } - $object->setPaths($values); - unset($data['paths']); - } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { - $object->setPaths(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['namespace'] = $object->getNamespace(); - $values = []; - foreach ($object->getPaths() as $value) { - $values[] = $value; - } - $data['paths'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..6aa14487 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php deleted file mode 100644 index 2cc80e5d..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php +++ /dev/null @@ -1,100 +0,0 @@ -setNamespace($data['namespace']); - unset($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { - $object->setNamespace(null); - } - if (\array_key_exists('paths', $data) && $data['paths'] !== null) { - $values = []; - foreach ($data['paths'] as $value) { - $values[] = $value; - } - $object->setPaths($values); - unset($data['paths']); - } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { - $object->setPaths(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['namespace'] = $object->getNamespace(); - $values = []; - foreach ($object->getPaths() as $value) { - $values[] = $value; - } - $data['paths'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..b5b6cd71 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php deleted file mode 100644 index cb2d78b7..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer.php deleted file mode 100644 index e6f0a069..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,110 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['version']); - } elseif (\array_key_exists('version', $data) && $data['version'] === null) { - $object->setVersion(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['package'] = $object->getPackage(); - $data['version'] = $object->getVersion(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..8f5a41f6 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputNormalizer.php deleted file mode 100644 index 18103ccf..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputNormalizer.php +++ /dev/null @@ -1,92 +0,0 @@ -setPackage($data['package']); - unset($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']); - unset($data['version']); - } elseif (\array_key_exists('version', $data) && $data['version'] === null) { - $object->setVersion(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['package'] = $object->getPackage(); - $data['version'] = $object->getVersion(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..cc8a477f --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php deleted file mode 100644 index 58809651..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer.php deleted file mode 100644 index b5c85a21..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,117 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { - $object->setUrl(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['name'] = $object->getName(); - $data['type'] = $object->getType2(); - $data['url'] = $object->getUrl(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..54026000 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputNormalizer.php deleted file mode 100644 index fe45d120..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputNormalizer.php +++ /dev/null @@ -1,99 +0,0 @@ -setName($data['name']); - unset($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']); - unset($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']); - unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { - $object->setUrl(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['name'] = $object->getName(); - $data['type'] = $object->getType(); - $data['url'] = $object->getUrl(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..fad7206e --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php deleted file mode 100644 index 0e7efca7..00000000 --- a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldNormalizer.php deleted file mode 100644 index 6cae9b6f..00000000 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,103 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('probe', $data) && $data['probe'] !== null) { - $object->setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context)); - unset($data['probe']); - } elseif (\array_key_exists('probe', $data) && $data['probe'] === null) { - $object->setProbe(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..75ae855f --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandInputNormalizer.php deleted file mode 100644 index b76f0e40..00000000 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandInputNormalizer.php +++ /dev/null @@ -1,85 +0,0 @@ -setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\Probe', 'json', $context)); - unset($data['probe']); - } elseif (\array_key_exists('probe', $data) && $data['probe'] === null) { - $object->setProbe(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..382b03cb --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php deleted file mode 100644 index 5dbf5968..00000000 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php deleted file mode 100644 index 0a440939..00000000 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,140 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..d2187da7 --- /dev/null +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php deleted file mode 100644 index ebf4d470..00000000 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..5cf2c360 --- /dev/null +++ b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php deleted file mode 100644 index e8779e4d..00000000 --- a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php deleted file mode 100644 index e763a2e2..00000000 --- a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..d4a713a5 --- /dev/null +++ b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..353fd898 --- /dev/null +++ b/src/Normalizer/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php deleted file mode 100644 index b2cabe7f..00000000 --- a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php deleted file mode 100644 index 6dc0d31e..00000000 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,132 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values = []; - foreach ($data['steps'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepJsonld', 'json', $context); - } - $object->setSteps($values); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - if (\array_key_exists('composer', $data) && $data['composer'] !== null) { - $object->setComposer($this->denormalizer->denormalize($data['composer'], 'Gyroscops\\Api\\Model\\ComposerJsonld', 'json', $context)); - unset($data['composer']); - } elseif (\array_key_exists('composer', $data) && $data['composer'] === null) { - $object->setComposer(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['steps'] = $values; - $data['composer'] = $this->normalizer->normalize($object->getComposer(), 'json', $context); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..40bcd912 --- /dev/null +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php deleted file mode 100644 index e1e4005f..00000000 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\Step', 'json', $context); - } - $object->setSteps($values); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - if (\array_key_exists('composer', $data) && $data['composer'] !== null) { - $object->setComposer($this->denormalizer->denormalize($data['composer'], 'Gyroscops\\Api\\Model\\Composer', 'json', $context)); - unset($data['composer']); - } elseif (\array_key_exists('composer', $data) && $data['composer'] === null) { - $object->setComposer(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['steps'] = $values; - $data['composer'] = $this->normalizer->normalize($object->getComposer(), 'json', $context); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..ad9bc131 --- /dev/null +++ b/src/Normalizer/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php deleted file mode 100644 index ccc18a45..00000000 --- a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php deleted file mode 100644 index 337ead78..00000000 --- a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { - $object->setEnvironment(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $data['environment'] = $object->getEnvironment(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..5f6958ae --- /dev/null +++ b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer.php deleted file mode 100644 index ad3a6276..00000000 --- a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer.php +++ /dev/null @@ -1,87 +0,0 @@ -setEnvironment($data['environment']); - unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { - $object->setEnvironment(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $data['environment'] = $object->getEnvironment(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..ad5fc96a --- /dev/null +++ b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer.php deleted file mode 100644 index 466da72a..00000000 --- a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php deleted file mode 100644 index d875b8e2..00000000 --- a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $object->setEnvironment($data['environment']); - unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { - $object->setEnvironment(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $data['environment'] = $object->getEnvironment(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..a6055b0a --- /dev/null +++ b/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputNormalizer.php deleted file mode 100644 index d078dd62..00000000 --- a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); - unset($data['date']); - } elseif (\array_key_exists('date', $data) && $data['date'] === null) { - $object->setDate(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $object->setEnvironment($data['environment']); - unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { - $object->setEnvironment(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('date') && null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $data['environment'] = $object->getEnvironment(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..242f5cfa --- /dev/null +++ b/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer.php deleted file mode 100644 index 6a32494b..00000000 --- a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineJsonldNormalizer.php b/src/Normalizer/PipelineJsonldNormalizer.php index 82b19e5a..e884b327 100644 --- a/src/Normalizer/PipelineJsonldNormalizer.php +++ b/src/Normalizer/PipelineJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class PipelineJsonldNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,38 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepJsonld', 'json', $context); } $object->setSteps($values); unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { $object->setSteps(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..50f42f40 --- /dev/null +++ b/src/Normalizer/PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,202 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { + $object->setIsSoftDeleted($data['isSoftDeleted']); + unset($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); + } + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { + $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); + unset($data['compiledAt']); + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { + $object->setCompiledAt(null); + } + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values = []; + foreach ($data['autoload'] as $value) { + $values[] = $value; + } + $object->setAutoload($values); + unset($data['autoload']); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); + } + if (\array_key_exists('packages', $data) && null !== $data['packages']) { + $values_1 = []; + foreach ($data['packages'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPackages($values_1); + unset($data['packages']); + } elseif (\array_key_exists('packages', $data) && null === $data['packages']) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && null !== $data['repositories']) { + $values_2 = []; + foreach ($data['repositories'] as $value_2) { + $values_2[] = $value_2; + } + $object->setRepositories($values_2); + unset($data['repositories']); + } elseif (\array_key_exists('repositories', $data) && null === $data['repositories']) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && null !== $data['auths']) { + $values_3 = []; + foreach ($data['auths'] as $value_3) { + $values_3[] = $value_3; + } + $object->setAuths($values_3); + unset($data['auths']); + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { + $object->setAuths(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_4 = []; + foreach ($data['steps'] as $value_4) { + $values_4[] = $value_4; + } + $object->setSteps($values_4); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_5; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { + $data['isSoftDeleted'] = $object->getIsSoftDeleted(); + } + if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { + $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('packages') && null !== $object->getPackages()) { + $values = []; + foreach ($object->getPackages() as $value) { + $values[] = $value; + } + $data['packages'] = $values; + } + $values_1 = []; + foreach ($object->getRepositories() as $value_1) { + $values_1[] = $value_1; + } + $data['repositories'] = $values_1; + $values_2 = []; + foreach ($object->getAuths() as $value_2) { + $values_2[] = $value_2; + } + $data['auths'] = $values_2; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values_3 = []; + foreach ($object->getSteps() as $value_3) { + $values_3[] = $value_3; + } + $data['steps'] = $values_3; + } + foreach ($object as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_4; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineJsonldReadNormalizer.php b/src/Normalizer/PipelineJsonldReadNormalizer.php deleted file mode 100644 index 884998aa..00000000 --- a/src/Normalizer/PipelineJsonldReadNormalizer.php +++ /dev/null @@ -1,235 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { - $object->setContext(null); - } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { - $object->setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - if (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] !== null) { - $object->setIsSoftDeleted($data['isSoftDeleted']); - unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { - $object->setIsSoftDeleted(null); - } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { - $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - unset($data['compiledAt']); - } elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { - $object->setCompiledAt(null); - } - if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { - $values = []; - foreach ($data['autoload'] as $value) { - $values[] = $value; - } - $object->setAutoload($values); - unset($data['autoload']); - } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { - $object->setAutoload(null); - } - if (\array_key_exists('packages', $data) && $data['packages'] !== null) { - $values_1 = []; - foreach ($data['packages'] as $value_1) { - $values_1[] = $value_1; - } - $object->setPackages($values_1); - unset($data['packages']); - } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { - $object->setPackages(null); - } - if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { - $values_2 = []; - foreach ($data['repositories'] as $value_2) { - $values_2[] = $value_2; - } - $object->setRepositories($values_2); - unset($data['repositories']); - } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { - $object->setRepositories(null); - } - if (\array_key_exists('auths', $data) && $data['auths'] !== null) { - $values_3 = []; - foreach ($data['auths'] as $value_3) { - $values_3[] = $value_3; - } - $object->setAuths($values_3); - unset($data['auths']); - } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { - $object->setAuths(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId2($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { - $values_4 = []; - foreach ($data['runtime'] as $value_4) { - $values_4[] = $value_4; - } - $object->setRuntime($values_4); - unset($data['runtime']); - } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { - $object->setRuntime(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values_5 = []; - foreach ($data['steps'] as $value_5) { - $values_5[] = $this->denormalizer->denormalize($value_5, 'Gyroscops\\Api\\Model\\PipelineStepJsonldRead', 'json', $context); - } - $object->setSteps($values_5); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_6) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_6; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { - $data['isSoftDeleted'] = $object->getIsSoftDeleted(); - } - if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { - $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('packages') && null !== $object->getPackages()) { - $values = []; - foreach ($object->getPackages() as $value) { - $values[] = $value; - } - $data['packages'] = $values; - } - $values_1 = []; - foreach ($object->getRepositories() as $value_1) { - $values_1[] = $value_1; - } - $data['repositories'] = $values_1; - $values_2 = []; - foreach ($object->getAuths() as $value_2) { - $values_2[] = $value_2; - } - $data['auths'] = $values_2; - $data['id'] = $object->getId2(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('runtime') && null !== $object->getRuntime()) { - $values_3 = []; - foreach ($object->getRuntime() as $value_3) { - $values_3[] = $value_3; - } - $data['runtime'] = $values_3; - } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_4 = []; - foreach ($object->getSteps() as $value_4) { - $values_4[] = $this->normalizer->normalize($value_4, 'json', $context); - } - $data['steps'] = $values_4; - } - foreach ($object as $key => $value_5) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_5; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php deleted file mode 100644 index 645a772e..00000000 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,110 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('after', $data) && $data['after'] !== null) { - $object->setAfter($data['after']); - unset($data['after']); - } elseif (\array_key_exists('after', $data) && $data['after'] === null) { - $object->setAfter(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['after'] = $object->getAfter(); - $data['code'] = $object->getCode(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..0d3e781d --- /dev/null +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php deleted file mode 100644 index 6dbe17d7..00000000 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php +++ /dev/null @@ -1,92 +0,0 @@ -setAfter($data['after']); - unset($data['after']); - } elseif (\array_key_exists('after', $data) && $data['after'] === null) { - $object->setAfter(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['after'] = $object->getAfter(); - $data['code'] = $object->getCode(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..72d85862 --- /dev/null +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php deleted file mode 100644 index ed06e758..00000000 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php deleted file mode 100644 index dbcaf4d7..00000000 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,110 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('before', $data) && $data['before'] !== null) { - $object->setBefore($data['before']); - unset($data['before']); - } elseif (\array_key_exists('before', $data) && $data['before'] === null) { - $object->setBefore(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['before'] = $object->getBefore(); - $data['code'] = $object->getCode(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..038e0f64 --- /dev/null +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php deleted file mode 100644 index 0c4e0998..00000000 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php +++ /dev/null @@ -1,92 +0,0 @@ -setBefore($data['before']); - unset($data['before']); - } elseif (\array_key_exists('before', $data) && $data['before'] === null) { - $object->setBefore(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['before'] = $object->getBefore(); - $data['code'] = $object->getCode(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..7fee5723 --- /dev/null +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php deleted file mode 100644 index ed5ff239..00000000 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineNormalizer.php b/src/Normalizer/PipelineNormalizer.php index 3a5dff7f..dd662ecc 100644 --- a/src/Normalizer/PipelineNormalizer.php +++ b/src/Normalizer/PipelineNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class PipelineNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Pipeline'; + return 'Gyroscops\\Api\\Model\\Pipeline' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Pipeline'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Pipeline' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,20 +43,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\Step', 'json', $context); } $object->setSteps($values); unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { $object->setSteps(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/PipelinePipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelinePipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..2f279112 --- /dev/null +++ b/src/Normalizer/PipelinePipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,184 @@ +setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { + $object->setIsSoftDeleted($data['isSoftDeleted']); + unset($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); + } + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { + $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); + unset($data['compiledAt']); + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { + $object->setCompiledAt(null); + } + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values = []; + foreach ($data['autoload'] as $value) { + $values[] = $value; + } + $object->setAutoload($values); + unset($data['autoload']); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); + } + if (\array_key_exists('packages', $data) && null !== $data['packages']) { + $values_1 = []; + foreach ($data['packages'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPackages($values_1); + unset($data['packages']); + } elseif (\array_key_exists('packages', $data) && null === $data['packages']) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && null !== $data['repositories']) { + $values_2 = []; + foreach ($data['repositories'] as $value_2) { + $values_2[] = $value_2; + } + $object->setRepositories($values_2); + unset($data['repositories']); + } elseif (\array_key_exists('repositories', $data) && null === $data['repositories']) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && null !== $data['auths']) { + $values_3 = []; + foreach ($data['auths'] as $value_3) { + $values_3[] = $value_3; + } + $object->setAuths($values_3); + unset($data['auths']); + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { + $object->setAuths(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_4 = []; + foreach ($data['steps'] as $value_4) { + $values_4[] = $value_4; + } + $object->setSteps($values_4); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_5; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { + $data['isSoftDeleted'] = $object->getIsSoftDeleted(); + } + if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { + $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('packages') && null !== $object->getPackages()) { + $values = []; + foreach ($object->getPackages() as $value) { + $values[] = $value; + } + $data['packages'] = $values; + } + $values_1 = []; + foreach ($object->getRepositories() as $value_1) { + $values_1[] = $value_1; + } + $data['repositories'] = $values_1; + $values_2 = []; + foreach ($object->getAuths() as $value_2) { + $values_2[] = $value_2; + } + $data['auths'] = $values_2; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values_3 = []; + foreach ($object->getSteps() as $value_3) { + $values_3[] = $value_3; + } + $data['steps'] = $values_3; + } + foreach ($object as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_4; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineReadNormalizer.php b/src/Normalizer/PipelineReadNormalizer.php deleted file mode 100644 index 12b8603f..00000000 --- a/src/Normalizer/PipelineReadNormalizer.php +++ /dev/null @@ -1,217 +0,0 @@ -setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - if (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] !== null) { - $object->setIsSoftDeleted($data['isSoftDeleted']); - unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { - $object->setIsSoftDeleted(null); - } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { - $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - unset($data['compiledAt']); - } elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { - $object->setCompiledAt(null); - } - if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { - $values = []; - foreach ($data['autoload'] as $value) { - $values[] = $value; - } - $object->setAutoload($values); - unset($data['autoload']); - } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { - $object->setAutoload(null); - } - if (\array_key_exists('packages', $data) && $data['packages'] !== null) { - $values_1 = []; - foreach ($data['packages'] as $value_1) { - $values_1[] = $value_1; - } - $object->setPackages($values_1); - unset($data['packages']); - } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { - $object->setPackages(null); - } - if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { - $values_2 = []; - foreach ($data['repositories'] as $value_2) { - $values_2[] = $value_2; - } - $object->setRepositories($values_2); - unset($data['repositories']); - } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { - $object->setRepositories(null); - } - if (\array_key_exists('auths', $data) && $data['auths'] !== null) { - $values_3 = []; - foreach ($data['auths'] as $value_3) { - $values_3[] = $value_3; - } - $object->setAuths($values_3); - unset($data['auths']); - } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { - $object->setAuths(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { - $values_4 = []; - foreach ($data['runtime'] as $value_4) { - $values_4[] = $value_4; - } - $object->setRuntime($values_4); - unset($data['runtime']); - } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { - $object->setRuntime(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values_5 = []; - foreach ($data['steps'] as $value_5) { - $values_5[] = $this->denormalizer->denormalize($value_5, 'Gyroscops\\Api\\Model\\PipelineStepRead', 'json', $context); - } - $object->setSteps($values_5); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_6) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_6; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { - $data['isSoftDeleted'] = $object->getIsSoftDeleted(); - } - if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { - $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('packages') && null !== $object->getPackages()) { - $values = []; - foreach ($object->getPackages() as $value) { - $values[] = $value; - } - $data['packages'] = $values; - } - $values_1 = []; - foreach ($object->getRepositories() as $value_1) { - $values_1[] = $value_1; - } - $data['repositories'] = $values_1; - $values_2 = []; - foreach ($object->getAuths() as $value_2) { - $values_2[] = $value_2; - } - $data['auths'] = $values_2; - $data['id'] = $object->getId(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('runtime') && null !== $object->getRuntime()) { - $values_3 = []; - foreach ($object->getRuntime() as $value_3) { - $values_3[] = $value_3; - } - $data['runtime'] = $values_3; - } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_4 = []; - foreach ($object->getSteps() as $value_4) { - $values_4[] = $this->normalizer->normalize($value_4, 'json', $context); - } - $data['steps'] = $values_4; - } - foreach ($object as $key => $value_5) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_5; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer.php deleted file mode 100644 index 5be28e89..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { - $object->setUrl(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('url') && null !== $object->getUrl()) { - $data['url'] = $object->getUrl(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..ca7548ac --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputNormalizer.php deleted file mode 100644 index 70e04c34..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputNormalizer.php +++ /dev/null @@ -1,87 +0,0 @@ -setUrl($data['url']); - unset($data['url']); - } elseif (\array_key_exists('url', $data) && $data['url'] === null) { - $object->setUrl(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('url') && null !== $object->getUrl()) { - $data['url'] = $object->getUrl(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..02184d86 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php deleted file mode 100644 index 73ce634b..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php deleted file mode 100644 index a99a415d..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { - $object->setNamespace(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('namespace') && null !== $object->getNamespace()) { - $data['namespace'] = $object->getNamespace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..2490c048 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer.php deleted file mode 100644 index b4fb735b..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer.php +++ /dev/null @@ -1,87 +0,0 @@ -setNamespace($data['namespace']); - unset($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { - $object->setNamespace(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('namespace') && null !== $object->getNamespace()) { - $data['namespace'] = $object->getNamespace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..22729fdf --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php deleted file mode 100644 index 4a02db24..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer.php deleted file mode 100644 index b0eb8a2a..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['package']); - } elseif (\array_key_exists('package', $data) && $data['package'] === null) { - $object->setPackage(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('package') && null !== $object->getPackage()) { - $data['package'] = $object->getPackage(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..3ea43c35 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputNormalizer.php deleted file mode 100644 index 2fa82811..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputNormalizer.php +++ /dev/null @@ -1,87 +0,0 @@ -setPackage($data['package']); - unset($data['package']); - } elseif (\array_key_exists('package', $data) && $data['package'] === null) { - $object->setPackage(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('package') && null !== $object->getPackage()) { - $data['package'] = $object->getPackage(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..bb992983 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php deleted file mode 100644 index d635048d..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php deleted file mode 100644 index 1c8af2b5..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..5dfb0d91 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php deleted file mode 100644 index a3d148d9..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php +++ /dev/null @@ -1,87 +0,0 @@ -setName($data['name']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..170137c5 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php deleted file mode 100644 index 0ee6cdd7..00000000 --- a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..f4099b22 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php deleted file mode 100644 index b617ffdc..00000000 --- a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php deleted file mode 100644 index e7486136..00000000 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,111 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('codes', $data) && $data['codes'] !== null) { - $values = []; - foreach ($data['codes'] as $value) { - $values[] = $value; - } - $object->setCodes($values); - unset($data['codes']); - } elseif (\array_key_exists('codes', $data) && $data['codes'] === null) { - $object->setCodes(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $values = []; - foreach ($object->getCodes() as $value) { - $values[] = $value; - } - $data['codes'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..1011c938 --- /dev/null +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php deleted file mode 100644 index faeac906..00000000 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php +++ /dev/null @@ -1,93 +0,0 @@ -setCodes($values); - unset($data['codes']); - } elseif (\array_key_exists('codes', $data) && $data['codes'] === null) { - $object->setCodes(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $values = []; - foreach ($object->getCodes() as $value) { - $values[] = $value; - } - $data['codes'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..3f2499a4 --- /dev/null +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php deleted file mode 100644 index 6cdccb08..00000000 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php deleted file mode 100644 index 663a4819..00000000 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,140 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer.php new file mode 100644 index 00000000..cb2fc67f --- /dev/null +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php deleted file mode 100644 index a56f8c0e..00000000 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['configuration'] as $key => $value) { - $values[$key] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - 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); - } - $object->setProbes($values_1); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values[$key] = $value; - } - $data['configuration'] = $values; - $values_1 = []; - foreach ($object->getProbes() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['probes'] = $values_1; - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php new file mode 100644 index 00000000..4644650c --- /dev/null +++ b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php deleted file mode 100644 index d330c76d..00000000 --- a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineStepJobReadNormalizer.php b/src/Normalizer/PipelineStepJobReadNormalizer.php new file mode 100644 index 00000000..1938b8ac --- /dev/null +++ b/src/Normalizer/PipelineStepJobReadNormalizer.php @@ -0,0 +1,129 @@ +setOrder($data['order']); + unset($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJobRead', 'json', $context)); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values = []; + foreach ($data['probes'] as $value) { + $values[] = $value; + } + $object->setProbes($values); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values_1 = []; + foreach ($data['configuration'] as $value_1) { + $values_1[] = $value_1; + } + $object->setConfiguration($values_1); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['order'] = $object->getOrder(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + if ($object->isInitialized('probes') && null !== $object->getProbes()) { + $values = []; + foreach ($object->getProbes() as $value) { + $values[] = $value; + } + $data['probes'] = $values; + } + $values_1 = []; + foreach ($object->getConfiguration() as $value_1) { + $values_1[] = $value_1; + } + $data['configuration'] = $values_1; + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineStepJsonldJobReadNormalizer.php b/src/Normalizer/PipelineStepJsonldJobReadNormalizer.php new file mode 100644 index 00000000..fa333982 --- /dev/null +++ b/src/Normalizer/PipelineStepJsonldJobReadNormalizer.php @@ -0,0 +1,147 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('order', $data) && null !== $data['order']) { + $object->setOrder($data['order']); + unset($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldJobRead', 'json', $context)); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values = []; + foreach ($data['probes'] as $value) { + $values[] = $value; + } + $object->setProbes($values); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values_1 = []; + foreach ($data['configuration'] as $value_1) { + $values_1[] = $value_1; + } + $object->setConfiguration($values_1); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['order'] = $object->getOrder(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + if ($object->isInitialized('probes') && null !== $object->getProbes()) { + $values = []; + foreach ($object->getProbes() as $value) { + $values[] = $value; + } + $data['probes'] = $values; + } + $values_1 = []; + foreach ($object->getConfiguration() as $value_1) { + $values_1[] = $value_1; + } + $data['configuration'] = $values_1; + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineStepJsonldNormalizer.php b/src/Normalizer/PipelineStepJsonldNormalizer.php deleted file mode 100644 index 02b0356a..00000000 --- a/src/Normalizer/PipelineStepJsonldNormalizer.php +++ /dev/null @@ -1,162 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('order', $data) && $data['order'] !== null) { - $object->setOrder($data['order']); - unset($data['order']); - } elseif (\array_key_exists('order', $data) && $data['order'] === null) { - $object->setOrder(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('probes', $data) && $data['probes'] !== null) { - $values = []; - foreach ($data['probes'] as $value) { - $values[] = $value; - } - $object->setProbes($values); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - 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); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['order'] = $object->getOrder(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - if ($object->isInitialized('probes') && null !== $object->getProbes()) { - $values = []; - foreach ($object->getProbes() as $value) { - $values[] = $value; - } - $data['probes'] = $values; - } - $values_1 = []; - foreach ($object->getConfiguration() as $value_1) { - $values_1[] = $value_1; - } - $data['configuration'] = $values_1; - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineStepJsonldReadNormalizer.php b/src/Normalizer/PipelineStepJsonldReadNormalizer.php deleted file mode 100644 index 7c251b31..00000000 --- a/src/Normalizer/PipelineStepJsonldReadNormalizer.php +++ /dev/null @@ -1,125 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineStepJsonldStepReadNormalizer.php b/src/Normalizer/PipelineStepJsonldStepReadNormalizer.php new file mode 100644 index 00000000..2429bad7 --- /dev/null +++ b/src/Normalizer/PipelineStepJsonldStepReadNormalizer.php @@ -0,0 +1,147 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('order', $data) && null !== $data['order']) { + $object->setOrder($data['order']); + unset($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldStepRead', 'json', $context)); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values = []; + foreach ($data['probes'] as $value) { + $values[] = $value; + } + $object->setProbes($values); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values_1 = []; + foreach ($data['configuration'] as $value_1) { + $values_1[] = $value_1; + } + $object->setConfiguration($values_1); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['order'] = $object->getOrder(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + if ($object->isInitialized('probes') && null !== $object->getProbes()) { + $values = []; + foreach ($object->getProbes() as $value) { + $values[] = $value; + } + $data['probes'] = $values; + } + $values_1 = []; + foreach ($object->getConfiguration() as $value_1) { + $values_1[] = $value_1; + } + $data['configuration'] = $values_1; + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineStepNormalizer.php b/src/Normalizer/PipelineStepNormalizer.php deleted file mode 100644 index 6cfd25d8..00000000 --- a/src/Normalizer/PipelineStepNormalizer.php +++ /dev/null @@ -1,144 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('order', $data) && $data['order'] !== null) { - $object->setOrder($data['order']); - unset($data['order']); - } elseif (\array_key_exists('order', $data) && $data['order'] === null) { - $object->setOrder(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('probes', $data) && $data['probes'] !== null) { - $values = []; - foreach ($data['probes'] as $value) { - $values[] = $value; - } - $object->setProbes($values); - unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { - $object->setProbes(null); - } - 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); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['order'] = $object->getOrder(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - if ($object->isInitialized('probes') && null !== $object->getProbes()) { - $values = []; - foreach ($object->getProbes() as $value) { - $values[] = $value; - } - $data['probes'] = $values; - } - $values_1 = []; - foreach ($object->getConfiguration() as $value_1) { - $values_1[] = $value_1; - } - $data['configuration'] = $values_1; - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php deleted file mode 100644 index 40e6b106..00000000 --- a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php +++ /dev/null @@ -1,130 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('order', $data) && $data['order'] !== null) { - $object->setOrder($data['order']); - unset($data['order']); - } elseif (\array_key_exists('order', $data) && $data['order'] === null) { - $object->setOrder(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('step', $data) && $data['step'] !== null) { - $object->setStep($data['step']); - unset($data['step']); - } elseif (\array_key_exists('step', $data) && $data['step'] === null) { - $object->setStep(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['order'] = $object->getOrder(); - $data['label'] = $object->getLabel(); - $data['step'] = $object->getStep(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineStepProbeJsonldStepProbeReadNormalizer.php b/src/Normalizer/PipelineStepProbeJsonldStepProbeReadNormalizer.php new file mode 100644 index 00000000..db47f1fc --- /dev/null +++ b/src/Normalizer/PipelineStepProbeJsonldStepProbeReadNormalizer.php @@ -0,0 +1,114 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('step', $data) && null !== $data['step']) { + $object->setStep($data['step']); + unset($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['step'] = $object->getStep(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineStepProbeNormalizer.php b/src/Normalizer/PipelineStepProbeNormalizer.php deleted file mode 100644 index 715acfee..00000000 --- a/src/Normalizer/PipelineStepProbeNormalizer.php +++ /dev/null @@ -1,112 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('order', $data) && $data['order'] !== null) { - $object->setOrder($data['order']); - unset($data['order']); - } elseif (\array_key_exists('order', $data) && $data['order'] === null) { - $object->setOrder(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('step', $data) && $data['step'] !== null) { - $object->setStep($data['step']); - unset($data['step']); - } elseif (\array_key_exists('step', $data) && $data['step'] === null) { - $object->setStep(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['order'] = $object->getOrder(); - $data['label'] = $object->getLabel(); - $data['step'] = $object->getStep(); - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineStepProbeStepProbeReadNormalizer.php b/src/Normalizer/PipelineStepProbeStepProbeReadNormalizer.php new file mode 100644 index 00000000..5a01ac6d --- /dev/null +++ b/src/Normalizer/PipelineStepProbeStepProbeReadNormalizer.php @@ -0,0 +1,96 @@ +setId($data['id']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('step', $data) && null !== $data['step']) { + $object->setStep($data['step']); + unset($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['step'] = $object->getStep(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineStepReadNormalizer.php b/src/Normalizer/PipelineStepReadNormalizer.php deleted file mode 100644 index 080928c9..00000000 --- a/src/Normalizer/PipelineStepReadNormalizer.php +++ /dev/null @@ -1,107 +0,0 @@ -setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PipelineStepStepReadNormalizer.php b/src/Normalizer/PipelineStepStepReadNormalizer.php new file mode 100644 index 00000000..7fd7c108 --- /dev/null +++ b/src/Normalizer/PipelineStepStepReadNormalizer.php @@ -0,0 +1,137 @@ +setOrder($data['order']); + unset($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['pipeline'] as $key => $value) { + $values[$key] = $value; + } + $object->setPipeline($values); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $value_1; + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values_2 = []; + foreach ($data['configuration'] as $value_2) { + $values_2[] = $value_2; + } + $object->setConfiguration($values_2); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key_1 => $value_3) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['order'] = $object->getOrder(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getPipeline() as $key => $value) { + $values[$key] = $value; + } + $data['pipeline'] = $values; + if ($object->isInitialized('probes') && null !== $object->getProbes()) { + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $value_1; + } + $data['probes'] = $values_1; + } + $values_2 = []; + foreach ($object->getConfiguration() as $value_2) { + $values_2[] = $value_2; + } + $data['configuration'] = $values_2; + foreach ($object as $key_1 => $value_3) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/PriceJsonldNormalizer.php b/src/Normalizer/PriceJsonldNormalizer.php index a7357306..045f970d 100644 --- a/src/Normalizer/PriceJsonldNormalizer.php +++ b/src/Normalizer/PriceJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class PriceJsonldNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PriceJsonld'; + return 'Gyroscops\\Api\\Model\\PriceJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PriceJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PriceJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,58 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId2($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('buyable', $data) && $data['buyable'] !== null) { - $object->setBuyable($this->denormalizer->denormalize($data['buyable'], 'Gyroscops\\Api\\Model\\BuyableJsonld', 'json', $context)); - unset($data['buyable']); - } elseif (\array_key_exists('buyable', $data) && $data['buyable'] === null) { - $object->setBuyable(null); - } - if (\array_key_exists('type', $data) && $data['type'] !== null) { - $object->setType2($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld', 'json', $context)); - unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { - $object->setType2(null); - } - if (\array_key_exists('amount', $data) && $data['amount'] !== null) { + if (\array_key_exists('amount', $data) && null !== $data['amount']) { $object->setAmount($data['amount']); unset($data['amount']); - } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { $object->setAmount(null); } - if (\array_key_exists('price', $data) && $data['price'] !== null) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\MoneyJsonld', 'json', $context)); unset($data['price']); - } elseif (\array_key_exists('price', $data) && $data['price'] === null) { + } elseif (\array_key_exists('price', $data) && null === $data['price']) { $object->setPrice(null); } - if (\array_key_exists('currency', $data) && $data['currency'] !== null) { + if (\array_key_exists('currency', $data) && null !== $data['currency']) { $object->setCurrency($data['currency']); unset($data['currency']); - } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { $object->setCurrency(null); } foreach ($data as $key => $value) { @@ -121,15 +94,6 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('id2') && null !== $object->getId2()) { - $data['id'] = $object->getId2(); - } - if ($object->isInitialized('buyable') && null !== $object->getBuyable()) { - $data['buyable'] = $this->normalizer->normalize($object->getBuyable(), 'json', $context); - } - if ($object->isInitialized('type2') && null !== $object->getType2()) { - $data['type'] = $this->normalizer->normalize($object->getType2(), 'json', $context); - } $data['amount'] = $object->getAmount(); if ($object->isInitialized('price') && null !== $object->getPrice()) { $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); diff --git a/src/Normalizer/PriceJsonldReadNormalizer.php b/src/Normalizer/PriceJsonldReadNormalizer.php deleted file mode 100644 index 5cbd7545..00000000 --- a/src/Normalizer/PriceJsonldReadNormalizer.php +++ /dev/null @@ -1,121 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('type', $data) && $data['type'] !== null) { - $object->setType2($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead', 'json', $context)); - unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { - $object->setType2(null); - } - if (\array_key_exists('amount', $data) && $data['amount'] !== null) { - $object->setAmount($data['amount']); - unset($data['amount']); - } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { - $object->setAmount(null); - } - if (\array_key_exists('currency', $data) && $data['currency'] !== null) { - $object->setCurrency($data['currency']); - unset($data['currency']); - } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { - $object->setCurrency(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type2') && null !== $object->getType2()) { - $data['type'] = $this->normalizer->normalize($object->getType2(), 'json', $context); - } - $data['amount'] = $object->getAmount(); - if ($object->isInitialized('currency') && null !== $object->getCurrency()) { - $data['currency'] = $object->getCurrency(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/PriceNormalizer.php b/src/Normalizer/PriceNormalizer.php index 1eed5d07..e5fb8749 100644 --- a/src/Normalizer/PriceNormalizer.php +++ b/src/Normalizer/PriceNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class PriceNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Price'; + return 'Gyroscops\\Api\\Model\\Price' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Price'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Price' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('buyable', $data) && $data['buyable'] !== null) { - $object->setBuyable($this->denormalizer->denormalize($data['buyable'], 'Gyroscops\\Api\\Model\\Buyable', 'json', $context)); - unset($data['buyable']); - } elseif (\array_key_exists('buyable', $data) && $data['buyable'] === null) { - $object->setBuyable(null); - } - if (\array_key_exists('type', $data) && $data['type'] !== null) { - $object->setType($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\SubscriptionType', 'json', $context)); - unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { - $object->setType(null); - } - if (\array_key_exists('amount', $data) && $data['amount'] !== null) { + if (\array_key_exists('amount', $data) && null !== $data['amount']) { $object->setAmount($data['amount']); unset($data['amount']); - } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { $object->setAmount(null); } - if (\array_key_exists('price', $data) && $data['price'] !== null) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Money', 'json', $context)); unset($data['price']); - } elseif (\array_key_exists('price', $data) && $data['price'] === null) { + } elseif (\array_key_exists('price', $data) && null === $data['price']) { $object->setPrice(null); } - if (\array_key_exists('currency', $data) && $data['currency'] !== null) { + if (\array_key_exists('currency', $data) && null !== $data['currency']) { $object->setCurrency($data['currency']); unset($data['currency']); - } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { $object->setCurrency(null); } foreach ($data as $key => $value) { @@ -103,15 +76,6 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['id'] = $object->getId(); - } - if ($object->isInitialized('buyable') && null !== $object->getBuyable()) { - $data['buyable'] = $this->normalizer->normalize($object->getBuyable(), 'json', $context); - } - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['type'] = $this->normalizer->normalize($object->getType(), 'json', $context); - } $data['amount'] = $object->getAmount(); if ($object->isInitialized('price') && null !== $object->getPrice()) { $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); diff --git a/src/Normalizer/PriceReadNormalizer.php b/src/Normalizer/PriceReadNormalizer.php deleted file mode 100644 index 582f910f..00000000 --- a/src/Normalizer/PriceReadNormalizer.php +++ /dev/null @@ -1,111 +0,0 @@ - $value) { - $values[$key] = $value; - } - $object->setType($values); - unset($data['type']); - } elseif (\array_key_exists('type', $data) && $data['type'] === null) { - $object->setType(null); - } - if (\array_key_exists('amount', $data) && $data['amount'] !== null) { - $object->setAmount($data['amount']); - unset($data['amount']); - } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { - $object->setAmount(null); - } - if (\array_key_exists('currency', $data) && $data['currency'] !== null) { - $object->setCurrency($data['currency']); - unset($data['currency']); - } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { - $object->setCurrency(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $values = []; - foreach ($object->getType() as $key => $value) { - $values[$key] = $value; - } - $data['type'] = $values; - } - $data['amount'] = $object->getAmount(); - if ($object->isInitialized('currency') && null !== $object->getCurrency()) { - $data['currency'] = $object->getCurrency(); - } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/ProbeJsonldNormalizer.php b/src/Normalizer/ProbeJsonldNormalizer.php index b4071730..d1e56709 100644 --- a/src/Normalizer/ProbeJsonldNormalizer.php +++ b/src/Normalizer/ProbeJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ProbeJsonldNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ProbeJsonld'; + return 'Gyroscops\\Api\\Model\\ProbeJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ProbeJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ProbeJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ProbeNormalizer.php b/src/Normalizer/ProbeNormalizer.php index a0c35c7f..b54ec13b 100644 --- a/src/Normalizer/ProbeNormalizer.php +++ b/src/Normalizer/ProbeNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ProbeNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Probe'; + return 'Gyroscops\\Api\\Model\\Probe' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Probe'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Probe' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,16 +43,16 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php index 2a69afb5..97fb9ccb 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodeJsonldReferralCodeReadNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead'; + return 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,50 +43,50 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('referralRequests', $data) && $data['referralRequests'] !== null) { + if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); unset($data['referralRequests']); - } elseif (\array_key_exists('referralRequests', $data) && $data['referralRequests'] === null) { + } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { $object->setReferralRequests(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php index 66368391..be30cc99 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodeJsonldReferralCodeWriteNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite'; + return 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php index 231dcf89..ce314b5a 100644 --- a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodeReferralCodeReadNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead'; + return 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('referralRequests', $data) && $data['referralRequests'] !== null) { + if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); unset($data['referralRequests']); - } elseif (\array_key_exists('referralRequests', $data) && $data['referralRequests'] === null) { + } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { $object->setReferralRequests(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php index effad2b6..d6786176 100644 --- a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodeReferralCodeWriteNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite'; + return 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,10 +43,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index cc66ce89..c57c16ff 100644 --- a/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer imp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchNormalizer.php index 5e768962..b258021b 100644 --- a/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodesGetLdjsonResponse200HydraSearchNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\ReferralCodesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraViewNormalizer.php index 098d404d..66ee90af 100644 --- a/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralCodesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodesGetLdjsonResponse200HydraViewNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralCodesGetLdjsonResponse200Normalizer.php b/src/Normalizer/ReferralCodesGetLdjsonResponse200Normalizer.php index 2216ec48..14389d0e 100644 --- a/src/Normalizer/ReferralCodesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/ReferralCodesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralCodesGetLdjsonResponse200Normalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralCodesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index f98eba6a..bbaa3792 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNo public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchNormalizer.php index 5f959ca3..e514b2f9 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraViewNormalizer.php index 32b5a161..28189213 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200HydraViewNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200Normalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200Normalizer.php index 95056703..b130c4d6 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralOnPremiseRequestsGetLdjsonResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php index fedafce4..e717329d 100644 --- a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestJsonldReferralRequestReadNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead'; + return 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,82 +43,82 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('userName', $data) && $data['userName'] !== null) { + if (\array_key_exists('userName', $data) && null !== $data['userName']) { $object->setUserName($data['userName']); unset($data['userName']); - } elseif (\array_key_exists('userName', $data) && $data['userName'] === null) { + } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { $object->setUserName(null); } - if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); unset($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data) && $data['creationDate'] !== null) { + if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); unset($data['creationDate']); - } elseif (\array_key_exists('creationDate', $data) && $data['creationDate'] === null) { + } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { $object->setCreationDate(null); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); unset($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && $data['approver'] !== null) { + if (\array_key_exists('approver', $data) && null !== $data['approver']) { $object->setApprover($data['approver']); unset($data['approver']); - } elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { + } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } - if (\array_key_exists('status', $data) && $data['status'] !== null) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); unset($data['status']); - } elseif (\array_key_exists('status', $data) && $data['status'] === null) { + } elseif (\array_key_exists('status', $data) && null === $data['status']) { $object->setStatus(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php index 29c0de52..7593d765 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestReferralRequestInputJsonldNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld'; + return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,58 +43,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('username', $data) && $data['username'] !== null) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); unset($data['username']); - } elseif (\array_key_exists('username', $data) && $data['username'] === null) { + } elseif (\array_key_exists('username', $data) && null === $data['username']) { $object->setUsername(null); } - if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); unset($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); unset($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php index c7a0b58a..d32124ff 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestReferralRequestInputNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput'; + return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('username', $data) && $data['username'] !== null) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); unset($data['username']); - } elseif (\array_key_exists('username', $data) && $data['username'] === null) { + } elseif (\array_key_exists('username', $data) && null === $data['username']) { $object->setUsername(null); } - if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); unset($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); unset($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php index fd6ee9ca..60782a74 100644 --- a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestReferralRequestReadNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead'; + return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,64 +43,64 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('email', $data) && $data['email'] !== null) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { + } elseif (\array_key_exists('email', $data) && null === $data['email']) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { $object->setLastName(null); } - if (\array_key_exists('userName', $data) && $data['userName'] !== null) { + if (\array_key_exists('userName', $data) && null !== $data['userName']) { $object->setUserName($data['userName']); unset($data['userName']); - } elseif (\array_key_exists('userName', $data) && $data['userName'] === null) { + } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { $object->setUserName(null); } - if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); unset($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data) && $data['creationDate'] !== null) { + if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); unset($data['creationDate']); - } elseif (\array_key_exists('creationDate', $data) && $data['creationDate'] === null) { + } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { $object->setCreationDate(null); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); unset($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && $data['approver'] !== null) { + if (\array_key_exists('approver', $data) && null !== $data['approver']) { $object->setApprover($data['approver']); unset($data['approver']); - } elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { + } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } - if (\array_key_exists('status', $data) && $data['status'] !== null) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); unset($data['status']); - } elseif (\array_key_exists('status', $data) && $data['status'] === null) { + } elseif (\array_key_exists('status', $data) && null === $data['status']) { $object->setStatus(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 677ed0f3..01679d7a 100644 --- a/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchNormalizer.php index 1b508756..75e4bc09 100644 --- a/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestsGetLdjsonResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\ReferralRequestsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraViewNormalizer.php index 017b9631..126c7288 100644 --- a/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestsGetLdjsonResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ReferralRequestsGetLdjsonResponse200Normalizer.php b/src/Normalizer/ReferralRequestsGetLdjsonResponse200Normalizer.php index 1e6240ea..d69b75af 100644 --- a/src/Normalizer/ReferralRequestsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/ReferralRequestsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ReferralRequestsGetLdjsonResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralRequestsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RegionJsonldNormalizer.php b/src/Normalizer/RegionJsonldNormalizer.php deleted file mode 100644 index 53fee96f..00000000 --- a/src/Normalizer/RegionJsonldNormalizer.php +++ /dev/null @@ -1,149 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('provider', $data) && $data['provider'] !== null) { - $object->setProvider($data['provider']); - unset($data['provider']); - } elseif (\array_key_exists('provider', $data) && $data['provider'] === null) { - $object->setProvider(null); - } - if (\array_key_exists('datacenterName', $data) && $data['datacenterName'] !== null) { - $object->setDatacenterName($data['datacenterName']); - unset($data['datacenterName']); - } elseif (\array_key_exists('datacenterName', $data) && $data['datacenterName'] === null) { - $object->setDatacenterName(null); - } - if (\array_key_exists('datacenterAddress', $data) && $data['datacenterAddress'] !== null) { - $object->setDatacenterAddress($data['datacenterAddress']); - unset($data['datacenterAddress']); - } elseif (\array_key_exists('datacenterAddress', $data) && $data['datacenterAddress'] === null) { - $object->setDatacenterAddress(null); - } - if (\array_key_exists('cloudEngine', $data) && $data['cloudEngine'] !== null) { - $object->setCloudEngine($this->denormalizer->denormalize($data['cloudEngine'], 'Gyroscops\\Api\\Model\\AbstractCloudEngineJsonld', 'json', $context)); - unset($data['cloudEngine']); - } elseif (\array_key_exists('cloudEngine', $data) && $data['cloudEngine'] === null) { - $object->setCloudEngine(null); - } - if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== null) { - $values = []; - foreach ($data['workspaces'] as $value) { - $values[] = $value; - } - $object->setWorkspaces($values); - unset($data['workspaces']); - } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { - $object->setWorkspaces(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['provider'] = $object->getProvider(); - $data['datacenterName'] = $object->getDatacenterName(); - $data['datacenterAddress'] = $object->getDatacenterAddress(); - if ($object->isInitialized('cloudEngine') && null !== $object->getCloudEngine()) { - $data['cloudEngine'] = $this->normalizer->normalize($object->getCloudEngine(), 'json', $context); - } - if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { - $values = []; - foreach ($object->getWorkspaces() as $value) { - $values[] = $value; - } - $data['workspaces'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RegionNormalizer.php b/src/Normalizer/RegionNormalizer.php deleted file mode 100644 index b465d021..00000000 --- a/src/Normalizer/RegionNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('provider', $data) && $data['provider'] !== null) { - $object->setProvider($data['provider']); - unset($data['provider']); - } elseif (\array_key_exists('provider', $data) && $data['provider'] === null) { - $object->setProvider(null); - } - if (\array_key_exists('datacenterName', $data) && $data['datacenterName'] !== null) { - $object->setDatacenterName($data['datacenterName']); - unset($data['datacenterName']); - } elseif (\array_key_exists('datacenterName', $data) && $data['datacenterName'] === null) { - $object->setDatacenterName(null); - } - if (\array_key_exists('datacenterAddress', $data) && $data['datacenterAddress'] !== null) { - $object->setDatacenterAddress($data['datacenterAddress']); - unset($data['datacenterAddress']); - } elseif (\array_key_exists('datacenterAddress', $data) && $data['datacenterAddress'] === null) { - $object->setDatacenterAddress(null); - } - if (\array_key_exists('cloudEngine', $data) && $data['cloudEngine'] !== null) { - $object->setCloudEngine($this->denormalizer->denormalize($data['cloudEngine'], 'Gyroscops\\Api\\Model\\AbstractCloudEngine', 'json', $context)); - unset($data['cloudEngine']); - } elseif (\array_key_exists('cloudEngine', $data) && $data['cloudEngine'] === null) { - $object->setCloudEngine(null); - } - if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== null) { - $values = []; - foreach ($data['workspaces'] as $value) { - $values[] = $value; - } - $object->setWorkspaces($values); - unset($data['workspaces']); - } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { - $object->setWorkspaces(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['provider'] = $object->getProvider(); - $data['datacenterName'] = $object->getDatacenterName(); - $data['datacenterAddress'] = $object->getDatacenterAddress(); - if ($object->isInitialized('cloudEngine') && null !== $object->getCloudEngine()) { - $data['cloudEngine'] = $this->normalizer->normalize($object->getCloudEngine(), 'json', $context); - } - if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { - $values = []; - foreach ($object->getWorkspaces() as $value) { - $values[] = $value; - } - $data['workspaces'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index fbaf1255..df25504a 100644 --- a/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchNormalizer.php index 41c68786..3cfc2da7 100644 --- a/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeActionsGetLdjsonResponse200HydraSearchNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeActionsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraViewNormalizer.php index e8bc83dc..88cdb5d8 100644 --- a/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeActionsGetLdjsonResponse200HydraViewNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeActionsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeActionsGetLdjsonResponse200Normalizer.php index f6c440c3..6412bc63 100644 --- a/src/Normalizer/RuntimeActionsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeActionsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeActionsGetLdjsonResponse200Normalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ActionJsonldActionRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeActionsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 9b09d389..a5d83960 100644 --- a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchNormalizer.php index 7bc4f4d7..59445b3c 100644 --- a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeCompilationsGetLdjsonResponse200HydraSearchNormalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraViewNormalizer.php index eca3154e..c50ace8c 100644 --- a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeCompilationsGetLdjsonResponse200HydraViewNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200Normalizer.php index 0f0360ba..8f3a6a2b 100644 --- a/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeCompilationsGetLdjsonResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\CompilationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\CompilationJsonldCompilationRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeCompilationsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index b722906d..64ef6461 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingIte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchNormalizer.php index a11b695e..195c7c81 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchNormalizer impl public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraViewNormalizer.php index a78b9dc3..fe2deace 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraViewNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200Normalizer.php index 02fbcc86..5d9aa819 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsGetLdjsonResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index c83a57f0..3d261031 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMap public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchNormalizer.php index 05328253..de5df3b0 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchNormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraViewNormalizer.php index e36c7469..146af4cd 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraViewNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200Normalizer.php index 432e4d8a..af7def36 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200Normalizer implemen public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionPipelineStepJsonldExecutionPipelineStepRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsIdStepsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 0807a5f1..633c44c4 100644 --- a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchNormalizer.php index 4b68652e..29b7ac54 100644 --- a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsGetLdjsonResponse200HydraSearchNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraViewNormalizer.php index e3753f19..78853998 100644 --- a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsGetLdjsonResponse200HydraViewNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200Normalizer.php index e563d0ae..17ee62a7 100644 --- a/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsGetLdjsonResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionJsonldExecutionRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php deleted file mode 100644 index 01e56bda..00000000 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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']); - unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { - $object->setRequired(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('variable') && null !== $object->getVariable()) { - $data['variable'] = $object->getVariable(); - } - if ($object->isInitialized('property') && null !== $object->getProperty()) { - $data['property'] = $object->getProperty(); - } - if ($object->isInitialized('required') && null !== $object->getRequired()) { - $data['required'] = $object->getRequired(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php deleted file mode 100644 index 104aba92..00000000 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); - } - $object->setHydraMapping($values); - unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { - $object->setHydraMapping(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { - $data['hydra:template'] = $object->getHydraTemplate(); - } - if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { - $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); - } - if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { - $values = []; - foreach ($object->getHydraMapping() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['hydra:mapping'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php deleted file mode 100644 index 620a01c5..00000000 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php +++ /dev/null @@ -1,132 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { - $object->setHydraNext(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['@id'] = $object->getId(); - } - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { - $data['hydra:first'] = $object->getHydraFirst(); - } - if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { - $data['hydra:last'] = $object->getHydraLast(); - } - if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { - $data['hydra:previous'] = $object->getHydraPrevious(); - } - if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { - $data['hydra:next'] = $object->getHydraNext(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer.php deleted file mode 100644 index ce76393f..00000000 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); - } - $object->setHydraMember($values); - unset($data['hydra:member']); - } 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']); - unset($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\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView', 'json', $context)); - unset($data['hydra:view']); - } 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\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch', 'json', $context)); - unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { - $object->setHydraSearch(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { - $data['hydra:totalItems'] = $object->getHydraTotalItems(); - } - if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { - $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); - } - if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { - $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 1d4ec366..918b7128 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemN public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php index 9992bad5..40ae28e0 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraViewNormalizer.php index 6cb9c82f..bf1f54a3 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200HydraViewNormalizer implemen public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200Normalizer.php index 131950d5..35c9278d 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesGetLdjsonResponse200Normalizer implements Denorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionPipelineJsonldExecutionPipelineRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 8113c704..032109cd 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappi public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php index 575c1ce7..bd4b3c36 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php index 33343e3a..f0e3ac09 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer i public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200Normalizer.php index afe829d6..5b4bff78 100644 --- a/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionPipelineStepJsonldExecutionPipelineStepRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsPipelinesIdStepsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index d8c9bb2b..4ab5a953 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemN public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php index af372087..4c0c65d8 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraViewNormalizer.php index a06588fc..cd6921cd 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraViewNormalizer implemen public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200Normalizer.php index 8e4f1e4c..3d2dcb2c 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsGetLdjsonResponse200Normalizer implements Denorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionWorkflowJsonldExecutionWorkflowRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 882cab86..c2aff745 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappin public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php index 4b21f5d6..5586fe4c 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php index d0c386c0..52500dfc 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200Normalizer.php index 21a3bde1..f8c71e9d 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsIdJobsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index d80548fe..115d352a 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php index 8ba2d748..69324fba 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php index 9d629508..60195a5e 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer impl public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200Normalizer.php index 13c5f621..c556b376 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200Normalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 07f5aeeb..a3d64c49 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSea public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchNormalizer.php index fc3e99b9..0d8ff7de 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSea public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraViewNormalizer.php index 636c70ba..2a578973 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraVie public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200Normalizer.php index 602a6bf6..40fb107a 100644 --- a/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200Normaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionPipelineStepJsonldExecutionPipelineStepRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsWorkflowsJobsIdPipelinesStepsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index a140c661..7cf2414b 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItemNo public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchNormalizer.php index e27d725b..db7b0e0d 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraViewNormalizer.php index cdfed057..78bf2dbf 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepProbesGetLdjsonResponse200HydraViewNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200Normalizer.php index 8aa8ed23..4ac74293 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepProbesGetLdjsonResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\PipelineStepProbeJsonldStepProbeRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 5ea39faf..a85e0ed0 100644 --- a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchNormalizer.php index d3e7c830..52f49c8f 100644 --- a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepsGetLdjsonResponse200HydraSearchNormalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimePipelineStepsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraViewNormalizer.php index a9cd8eb0..cf9cabac 100644 --- a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepsGetLdjsonResponse200HydraViewNormalizer implements Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200Normalizer.php index 59b13df2..84bc95c3 100644 --- a/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelineStepsGetLdjsonResponse200Normalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\PipelineStepJsonldStepRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 768952f8..6070f283 100644 --- a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchNormalizer.php index 20133a8b..5a3e636d 100644 --- a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesGetLdjsonResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimePipelinesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraViewNormalizer.php index 620bd016..ac9641ac 100644 --- a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesGetLdjsonResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200Normalizer.php index fad7840d..2ef5b2d1 100644 --- a/src/Normalizer/RuntimePipelinesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesGetLdjsonResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\PipelineJsonldPipelineReadPipelineSubresourceRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index bf190484..c992bcb4 100644 --- a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php index 316ee002..38139448 100644 --- a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php index a57b92ce..897ba0dd 100644 --- a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraViewNormalizer impl public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200Normalizer.php index d1821532..9397310a 100644 --- a/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesIdCompilationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdCompilationsGetLdjsonResponse200Normalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\CompilationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\CompilationJsonldCompilationRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesIdCompilationsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 13204eea..fe7c7d9c 100644 --- a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php index 6d0c51b7..361f15d6 100644 --- a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php index 3160f2a4..53ed580c 100644 --- a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraViewNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200Normalizer.php index 28b9154c..c0654be4 100644 --- a/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesIdSchedulesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdSchedulesGetLdjsonResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ScheduleJsonldScheduleRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesIdSchedulesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index a4319f58..f344aa31 100644 --- a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php index f801b4fa..2085eef3 100644 --- a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php index 3c9c2b8a..b293369a 100644 --- a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200Normalizer.php index e0c28f42..4b1af30a 100644 --- a/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesIdStepsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesIdStepsGetLdjsonResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\PipelineStepJsonldStepRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesIdStepsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 5be45eff..9f7106a3 100644 --- a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingIt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchNormalizer.php index 3278daab..2007d1b1 100644 --- a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchNormalizer imp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraViewNormalizer.php index 9f37d068..e85ceeeb 100644 --- a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraViewNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200Normalizer.php index f4174a93..653ae810 100644 --- a/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesStepsIdProbesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimePipelinesStepsIdProbesGetLdjsonResponse200Normalizer implements Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\PipelineStepProbeJsonldStepProbeRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesStepsIdProbesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 380aff28..7643c48c 100644 --- a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchNormalizer.php index b4c30d0e..c07b86e3 100644 --- a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesGetLdjsonResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraViewNormalizer.php index c141d46e..7318ad92 100644 --- a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesGetLdjsonResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200Normalizer.php index f620dace..aa870ef5 100644 --- a/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesGetLdjsonResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ScheduleJsonldScheduleRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 46ff4cc3..1e6f5325 100644 --- a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingIte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchNormalizer.php index fafe9ff9..50ab7e29 100644 --- a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchNormalizer impl public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraViewNormalizer.php index 8a7c20d9..52eb4d67 100644 --- a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraViewNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200Normalizer.php index 81b4e22a..7aebcf14 100644 --- a/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeSchedulesIdExecutionsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeSchedulesIdExecutionsGetLdjsonResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\ExecutionJsonldExecutionRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesIdExecutionsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..0cdfb2e9 --- /dev/null +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,105 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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']); + unset($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('variable') && null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if ($object->isInitialized('property') && null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if ($object->isInitialized('required') && null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..2e5571a5 --- /dev/null +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer.php @@ -0,0 +1,113 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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\\RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + unset($data['hydra:mapping']); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..440bd03b --- /dev/null +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer.php @@ -0,0 +1,123 @@ +setId($data['@id']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200Normalizer.php new file mode 100644 index 00000000..e897a675 --- /dev/null +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200Normalizer.php @@ -0,0 +1,111 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\TemplateJsonldTemplateList', 'json', $context); + } + $object->setHydraMember($values); + unset($data['hydra:member']); + } 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']); + unset($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\\RuntimeTemplatesGetLdjsonResponse200HydraView', 'json', $context)); + unset($data['hydra:view']); + } 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\\RuntimeTemplatesGetLdjsonResponse200HydraSearch', 'json', $context)); + unset($data['hydra:search']); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..8e209514 --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,105 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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']); + unset($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('variable') && null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if ($object->isInitialized('property') && null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if ($object->isInitialized('required') && null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..4dfc21ec --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchNormalizer.php @@ -0,0 +1,113 @@ +setType($data['@type']); + unset($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']); + unset($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']); + unset($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\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + unset($data['hydra:mapping']); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..64367265 --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraViewNormalizer.php @@ -0,0 +1,123 @@ +setId($data['@id']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($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']); + unset($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer.php new file mode 100644 index 00000000..f7588cd1 --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer.php @@ -0,0 +1,111 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldActionRead', 'json', $context); + } + $object->setHydraMember($values); + unset($data['hydra:member']); + } 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']); + unset($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\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraView', 'json', $context)); + unset($data['hydra:view']); + } 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\\RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch', 'json', $context)); + unset($data['hydra:search']); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 07d94e10..98a77275 100644 --- a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php index b5275878..2d5a3133 100644 --- a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsGetLdjsonResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeWorkflowsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraViewNormalizer.php index c0e2cbc7..d5e5470d 100644 --- a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsGetLdjsonResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200Normalizer.php index 432c198f..bd962a93 100644 --- a/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsGetLdjsonResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\WorkflowJsonldWorkflowRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php deleted file mode 100644 index 967511ed..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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']); - unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { - $object->setRequired(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('variable') && null !== $object->getVariable()) { - $data['variable'] = $object->getVariable(); - } - if ($object->isInitialized('property') && null !== $object->getProperty()) { - $data['property'] = $object->getProperty(); - } - if ($object->isInitialized('required') && null !== $object->getRequired()) { - $data['required'] = $object->getRequired(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php deleted file mode 100644 index 55bebe75..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); - } - $object->setHydraMapping($values); - unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { - $object->setHydraMapping(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { - $data['hydra:template'] = $object->getHydraTemplate(); - } - if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { - $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); - } - if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { - $values = []; - foreach ($object->getHydraMapping() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['hydra:mapping'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php deleted file mode 100644 index 1ed8610a..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php +++ /dev/null @@ -1,132 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { - $object->setHydraNext(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['@id'] = $object->getId(); - } - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { - $data['hydra:first'] = $object->getHydraFirst(); - } - if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { - $data['hydra:last'] = $object->getHydraLast(); - } - if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { - $data['hydra:previous'] = $object->getHydraPrevious(); - } - if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { - $data['hydra:next'] = $object->getHydraNext(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer.php deleted file mode 100644 index b099f2a3..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\CompilationJsonld', 'json', $context); - } - $object->setHydraMember($values); - unset($data['hydra:member']); - } 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']); - unset($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\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView', 'json', $context)); - unset($data['hydra:view']); - } 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\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch', 'json', $context)); - unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { - $object->setHydraSearch(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { - $data['hydra:totalItems'] = $object->getHydraTotalItems(); - } - if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { - $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); - } - if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { - $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 60ed11ba..6dd3f3d2 100644 --- a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItemNorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php index da735247..e8106f89 100644 --- a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php index 4397418c..1ff92411 100644 --- a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraViewNormalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200Normalizer.php index b717f250..4e0014e4 100644 --- a/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsIdJobsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdJobsGetLdjsonResponse200Normalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\WorkflowJobJsonldJobRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdJobsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php deleted file mode 100644 index ef891e52..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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']); - unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { - $object->setRequired(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('variable') && null !== $object->getVariable()) { - $data['variable'] = $object->getVariable(); - } - if ($object->isInitialized('property') && null !== $object->getProperty()) { - $data['property'] = $object->getProperty(); - } - if ($object->isInitialized('required') && null !== $object->getRequired()) { - $data['required'] = $object->getRequired(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php deleted file mode 100644 index 0a582f29..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php +++ /dev/null @@ -1,122 +0,0 @@ -setType($data['@type']); - unset($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']); - unset($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']); - unset($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\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); - } - $object->setHydraMapping($values); - unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { - $object->setHydraMapping(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraTemplate') && null !== $object->getHydraTemplate()) { - $data['hydra:template'] = $object->getHydraTemplate(); - } - if ($object->isInitialized('hydraVariableRepresentation') && null !== $object->getHydraVariableRepresentation()) { - $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); - } - if ($object->isInitialized('hydraMapping') && null !== $object->getHydraMapping()) { - $values = []; - foreach ($object->getHydraMapping() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['hydra:mapping'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php deleted file mode 100644 index b3989ed2..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php +++ /dev/null @@ -1,132 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { - $object->setHydraNext(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('id') && null !== $object->getId()) { - $data['@id'] = $object->getId(); - } - if ($object->isInitialized('type') && null !== $object->getType()) { - $data['@type'] = $object->getType(); - } - if ($object->isInitialized('hydraFirst') && null !== $object->getHydraFirst()) { - $data['hydra:first'] = $object->getHydraFirst(); - } - if ($object->isInitialized('hydraLast') && null !== $object->getHydraLast()) { - $data['hydra:last'] = $object->getHydraLast(); - } - if ($object->isInitialized('hydraPrevious') && null !== $object->getHydraPrevious()) { - $data['hydra:previous'] = $object->getHydraPrevious(); - } - if ($object->isInitialized('hydraNext') && null !== $object->getHydraNext()) { - $data['hydra:next'] = $object->getHydraNext(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer.php deleted file mode 100644 index e35ab746..00000000 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ScheduleJsonld', 'json', $context); - } - $object->setHydraMember($values); - unset($data['hydra:member']); - } 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']); - unset($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\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView', 'json', $context)); - unset($data['hydra:view']); - } 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\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch', 'json', $context)); - unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { - $object->setHydraSearch(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - 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 ($object->isInitialized('hydraTotalItems') && null !== $object->getHydraTotalItems()) { - $data['hydra:totalItems'] = $object->getHydraTotalItems(); - } - if ($object->isInitialized('hydraView') && null !== $object->getHydraView()) { - $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); - } - if ($object->isInitialized('hydraSearch') && null !== $object->getHydraSearch()) { - $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index d58ca95c..cbe77054 100644 --- a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItemNo public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php index 760aca1c..f5f59a38 100644 --- a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraViewNormalizer.php index bc8006b6..9e5e0773 100644 --- a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraViewNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200Normalizer.php index d3a8329c..a65eea4e 100644 --- a/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsPipelinesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsPipelinesGetLdjsonResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldPipelineRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsPipelinesGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 2693e08c..bbd7b0eb 100644 --- a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); unset($data['variable']); - } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); unset($data['property']); - } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && $data['required'] !== null) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); unset($data['required']); - } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + } elseif (\array_key_exists('required', $data) && null === $data['required']) { $object->setRequired(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php index 23c1d695..e4e7e3fd 100644 --- a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); unset($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); unset($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== 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\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); unset($data['hydra:mapping']); - } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { $object->setHydraMapping(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php index 0219d9c7..0c4b9cad 100644 --- a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraViewNo public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); unset($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); unset($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); unset($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); unset($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { $object->setHydraNext(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200Normalizer.php index e8fae075..6637c574 100644 --- a/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200Normalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ 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) && $data['hydra:member'] !== null) { + if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { $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\\PipelineStepJsonldStepRead', 'json', $context); } $object->setHydraMember($values); unset($data['hydra:member']); - } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); unset($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraView', 'json', $context)); unset($data['hydra:view']); - } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsWorkflowJobPipelinesIdStepsGetLdjsonResponse200HydraSearch', 'json', $context)); unset($data['hydra:search']); - } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { $object->setHydraSearch(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ScheduleJsonldNormalizer.php b/src/Normalizer/ScheduleJsonldNormalizer.php index 94a41b99..f0594890 100644 --- a/src/Normalizer/ScheduleJsonldNormalizer.php +++ b/src/Normalizer/ScheduleJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class ScheduleJsonldNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ScheduleJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,24 +43,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) && $data['@id'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { - $object->setContext(null); - } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { $object[$key] = $value; diff --git a/src/Normalizer/ScheduleJsonldScheduleReadNormalizer.php b/src/Normalizer/ScheduleJsonldScheduleReadNormalizer.php new file mode 100644 index 00000000..b3f2b29b --- /dev/null +++ b/src/Normalizer/ScheduleJsonldScheduleReadNormalizer.php @@ -0,0 +1,201 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('type', $data) && null !== $data['type']) { + $object->setType2($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\ScheduleTypeJsonldScheduleRead', 'json', $context)); + unset($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType2(null); + } + if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { + $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); + unset($data['startAt']); + } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { + $object->setStartAt(null); + } + if (\array_key_exists('interval', $data) && null !== $data['interval']) { + $object->setInterval($data['interval']); + unset($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); + } + if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { + $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); + unset($data['endAt']); + } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { + $object->setEndAt(null); + } + if (\array_key_exists('crontab', $data) && null !== $data['crontab']) { + $object->setCrontab($data['crontab']); + unset($data['crontab']); + } elseif (\array_key_exists('crontab', $data) && null === $data['crontab']) { + $object->setCrontab(null); + } + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { + $object->setRecurrences($data['recurrences']); + unset($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('executions', $data) && null !== $data['executions']) { + $values = []; + foreach ($data['executions'] as $value) { + $values[] = $value; + } + $object->setExecutions($values); + unset($data['executions']); + } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + $object->setExecutions(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($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']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId2(); + if ($object->isInitialized('type2') && null !== $object->getType2()) { + $data['type'] = $this->normalizer->normalize($object->getType2(), 'json', $context); + } + if ($object->isInitialized('startAt') && null !== $object->getStartAt()) { + $data['startAt'] = $object->getStartAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('endAt') && null !== $object->getEndAt()) { + $data['endAt'] = $object->getEndAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('crontab') && null !== $object->getCrontab()) { + $data['crontab'] = $object->getCrontab(); + } + if ($object->isInitialized('recurrences') && null !== $object->getRecurrences()) { + $data['recurrences'] = $object->getRecurrences(); + } + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('executions') && null !== $object->getExecutions()) { + $values = []; + foreach ($object->getExecutions() as $value) { + $values[] = $value; + } + $data['executions'] = $values; + } + if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { + $data['pipeline'] = $object->getPipeline(); + } + if ($object->isInitialized('workflow') && null !== $object->getWorkflow()) { + $data['workflow'] = $object->getWorkflow(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ScheduleScheduleReadNormalizer.php b/src/Normalizer/ScheduleScheduleReadNormalizer.php new file mode 100644 index 00000000..7551532b --- /dev/null +++ b/src/Normalizer/ScheduleScheduleReadNormalizer.php @@ -0,0 +1,191 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('type', $data) && null !== $data['type']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['type'] as $key => $value) { + $values[$key] = $value; + } + $object->setType($values); + unset($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType(null); + } + if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { + $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); + unset($data['startAt']); + } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { + $object->setStartAt(null); + } + if (\array_key_exists('interval', $data) && null !== $data['interval']) { + $object->setInterval($data['interval']); + unset($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); + } + if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { + $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); + unset($data['endAt']); + } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { + $object->setEndAt(null); + } + if (\array_key_exists('crontab', $data) && null !== $data['crontab']) { + $object->setCrontab($data['crontab']); + unset($data['crontab']); + } elseif (\array_key_exists('crontab', $data) && null === $data['crontab']) { + $object->setCrontab(null); + } + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { + $object->setRecurrences($data['recurrences']); + unset($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('executions', $data) && null !== $data['executions']) { + $values_1 = []; + foreach ($data['executions'] as $value_1) { + $values_1[] = $value_1; + } + $object->setExecutions($values_1); + unset($data['executions']); + } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + $object->setExecutions(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $object->setPipeline($data['pipeline']); + unset($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']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId(); + if ($object->isInitialized('type') && null !== $object->getType()) { + $values = []; + foreach ($object->getType() as $key => $value) { + $values[$key] = $value; + } + $data['type'] = $values; + } + if ($object->isInitialized('startAt') && null !== $object->getStartAt()) { + $data['startAt'] = $object->getStartAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('endAt') && null !== $object->getEndAt()) { + $data['endAt'] = $object->getEndAt()->format('Y-m-d\\TH:i:sP'); + } + if ($object->isInitialized('crontab') && null !== $object->getCrontab()) { + $data['crontab'] = $object->getCrontab(); + } + if ($object->isInitialized('recurrences') && null !== $object->getRecurrences()) { + $data['recurrences'] = $object->getRecurrences(); + } + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('executions') && null !== $object->getExecutions()) { + $values_1 = []; + foreach ($object->getExecutions() as $value_1) { + $values_1[] = $value_1; + } + $data['executions'] = $values_1; + } + if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { + $data['pipeline'] = $object->getPipeline(); + } + if ($object->isInitialized('workflow') && null !== $object->getWorkflow()) { + $data['workflow'] = $object->getWorkflow(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/ScheduleTypeJsonldScheduleReadNormalizer.php b/src/Normalizer/ScheduleTypeJsonldScheduleReadNormalizer.php new file mode 100644 index 00000000..fa85bfd5 --- /dev/null +++ b/src/Normalizer/ScheduleTypeJsonldScheduleReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php deleted file mode 100644 index f273f498..00000000 --- a/src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonld', 'json', $context); - } - $object->setContents($values); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values[$key] = $this->normalizer->normalize($value, 'json', $context); - } - $data['contents'] = $values; - } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretChangeSecretValueInputJsonldSecretUpdateNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputJsonldSecretUpdateNormalizer.php new file mode 100644 index 00000000..7a8de3c6 --- /dev/null +++ b/src/Normalizer/SecretChangeSecretValueInputJsonldSecretUpdateNormalizer.php @@ -0,0 +1,104 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonldSecretUpdate', 'json', $context); + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $this->normalizer->normalize($value, 'json', $context); + } + $data['contents'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretChangeSecretValueInputNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputNormalizer.php deleted file mode 100644 index 0cb1893f..00000000 --- a/src/Normalizer/SecretChangeSecretValueInputNormalizer.php +++ /dev/null @@ -1,103 +0,0 @@ - $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->setContents($values); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_2 => $value_2) { - if (preg_match('/.*/', (string) $key_2)) { - $object[$key_2] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; - } - $data['contents'] = $values; - } - foreach ($object as $key_2 => $value_2) { - if (preg_match('/.*/', (string) $key_2)) { - $data[$key_2] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretChangeSecretValueInputSecretUpdateNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputSecretUpdateNormalizer.php new file mode 100644 index 00000000..279a6598 --- /dev/null +++ b/src/Normalizer/SecretChangeSecretValueInputSecretUpdateNormalizer.php @@ -0,0 +1,94 @@ + $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->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_2 => $value_2) { + if (preg_match('/.*/', (string) $key_2)) { + $object[$key_2] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; + } + $values[$key] = $values_1; + } + $data['contents'] = $values; + } + foreach ($object as $key_2 => $value_2) { + if (preg_match('/.*/', (string) $key_2)) { + $data[$key_2] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php b/src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php deleted file mode 100644 index f4636b30..00000000 --- a/src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values[$key] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretCreateSecretInputJsonldSecretCreateNormalizer.php b/src/Normalizer/SecretCreateSecretInputJsonldSecretCreateNormalizer.php new file mode 100644 index 00000000..65c81e58 --- /dev/null +++ b/src/Normalizer/SecretCreateSecretInputJsonldSecretCreateNormalizer.php @@ -0,0 +1,122 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretCreateSecretInputNormalizer.php b/src/Normalizer/SecretCreateSecretInputNormalizer.php deleted file mode 100644 index 9ce3230b..00000000 --- a/src/Normalizer/SecretCreateSecretInputNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setName($data['name']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $key => $value) { - $values[$key] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretCreateSecretInputSecretCreateNormalizer.php b/src/Normalizer/SecretCreateSecretInputSecretCreateNormalizer.php new file mode 100644 index 00000000..cf5b1b0d --- /dev/null +++ b/src/Normalizer/SecretCreateSecretInputSecretCreateNormalizer.php @@ -0,0 +1,104 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretEditNormalizer.php b/src/Normalizer/SecretEditNormalizer.php deleted file mode 100644 index 417a4a82..00000000 --- a/src/Normalizer/SecretEditNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setName($data['name']); - unset($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']); - unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { - $object->setDescription(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretJsonldEditNormalizer.php b/src/Normalizer/SecretJsonldEditNormalizer.php deleted file mode 100644 index 639bec3a..00000000 --- a/src/Normalizer/SecretJsonldEditNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { - $object->setDescription(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretJsonldNormalizer.php b/src/Normalizer/SecretJsonldNormalizer.php deleted file mode 100644 index 7be7c920..00000000 --- a/src/Normalizer/SecretJsonldNormalizer.php +++ /dev/null @@ -1,157 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretJsonldReadNormalizer.php b/src/Normalizer/SecretJsonldReadNormalizer.php deleted file mode 100644 index c2a5237f..00000000 --- a/src/Normalizer/SecretJsonldReadNormalizer.php +++ /dev/null @@ -1,148 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretJsonldSecretReadNormalizer.php b/src/Normalizer/SecretJsonldSecretReadNormalizer.php new file mode 100644 index 00000000..2445d367 --- /dev/null +++ b/src/Normalizer/SecretJsonldSecretReadNormalizer.php @@ -0,0 +1,148 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretJsonldSecretUpdateNormalizer.php b/src/Normalizer/SecretJsonldSecretUpdateNormalizer.php new file mode 100644 index 00000000..ab3663c9 --- /dev/null +++ b/src/Normalizer/SecretJsonldSecretUpdateNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretNormalizer.php b/src/Normalizer/SecretNormalizer.php deleted file mode 100644 index 3bef2c1e..00000000 --- a/src/Normalizer/SecretNormalizer.php +++ /dev/null @@ -1,139 +0,0 @@ -setId($data['id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretReadNormalizer.php b/src/Normalizer/SecretReadNormalizer.php deleted file mode 100644 index 1804ec0d..00000000 --- a/src/Normalizer/SecretReadNormalizer.php +++ /dev/null @@ -1,130 +0,0 @@ -setId($data['id']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php b/src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php deleted file mode 100644 index 84e909ba..00000000 --- a/src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('contents', $data) && $data['contents'] !== null) { - $values = []; - foreach ($data['contents'] as $value) { - $values[] = $value; - } - $object->setContents($values); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $value) { - $values[] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer.php b/src/Normalizer/SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer.php new file mode 100644 index 00000000..343019ef --- /dev/null +++ b/src/Normalizer/SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer.php @@ -0,0 +1,104 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = []; + foreach ($data['contents'] as $value) { + $values[] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretRemoveSecretValueInputNormalizer.php b/src/Normalizer/SecretRemoveSecretValueInputNormalizer.php deleted file mode 100644 index 32ffd515..00000000 --- a/src/Normalizer/SecretRemoveSecretValueInputNormalizer.php +++ /dev/null @@ -1,95 +0,0 @@ -setContents($values); - unset($data['contents']); - } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { - $object->setContents(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('contents') && null !== $object->getContents()) { - $values = []; - foreach ($object->getContents() as $value) { - $values[] = $value; - } - $data['contents'] = $values; - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/SecretRemoveSecretValueInputSecretUpdateNormalizer.php b/src/Normalizer/SecretRemoveSecretValueInputSecretUpdateNormalizer.php new file mode 100644 index 00000000..4633ecc0 --- /dev/null +++ b/src/Normalizer/SecretRemoveSecretValueInputSecretUpdateNormalizer.php @@ -0,0 +1,86 @@ +setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('contents') && null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/SecretSecretReadNormalizer.php b/src/Normalizer/SecretSecretReadNormalizer.php new file mode 100644 index 00000000..2040ee0e --- /dev/null +++ b/src/Normalizer/SecretSecretReadNormalizer.php @@ -0,0 +1,130 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + unset($data['contents']); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + foreach ($data as $key_1 => $value_1) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/StepJsonldNormalizer.php b/src/Normalizer/StepJsonldNormalizer.php index c5edfc58..5fce5c39 100644 --- a/src/Normalizer/StepJsonldNormalizer.php +++ b/src/Normalizer/StepJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class StepJsonldNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\StepJsonld'; + return 'Gyroscops\\Api\\Model\\StepJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\StepJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\StepJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,54 +43,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values[$key] = $value; } $object->setConfiguration($values); unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } - if (\array_key_exists('probes', $data) && $data['probes'] !== null) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_1 = []; foreach ($data['probes'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_1); unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { $object->setProbes(null); } foreach ($data as $key_1 => $value_2) { diff --git a/src/Normalizer/StepNormalizer.php b/src/Normalizer/StepNormalizer.php index ee0db8d4..8df126de 100644 --- a/src/Normalizer/StepNormalizer.php +++ b/src/Normalizer/StepNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class StepNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Step'; + return 'Gyroscops\\Api\\Model\\Step' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Step'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Step' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,36 +43,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values[$key] = $value; } $object->setConfiguration($values); unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } - if (\array_key_exists('probes', $data) && $data['probes'] !== null) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_1 = []; foreach ($data['probes'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_1); unset($data['probes']); - } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { $object->setProbes(null); } foreach ($data as $key_1 => $value_2) { diff --git a/src/Normalizer/SubscriptionJsonldNormalizer.php b/src/Normalizer/SubscriptionJsonldNormalizer.php index cee10f21..c71f6bc1 100644 --- a/src/Normalizer/SubscriptionJsonldNormalizer.php +++ b/src/Normalizer/SubscriptionJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionJsonldNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionJsonld'; + return 'Gyroscops\\Api\\Model\\SubscriptionJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,71 +43,71 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('offer', $data) && $data['offer'] !== null) { + if (\array_key_exists('offer', $data) && null !== $data['offer']) { $object->setOffer($data['offer']); unset($data['offer']); - } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('options', $data) && $data['options'] !== null) { + if (\array_key_exists('options', $data) && null !== $data['options']) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); unset($data['options']); - } elseif (\array_key_exists('options', $data) && $data['options'] === null) { + } elseif (\array_key_exists('options', $data) && null === $data['options']) { $object->setOptions(null); } - if (\array_key_exists('cost', $data) && $data['cost'] !== null) { + if (\array_key_exists('cost', $data) && null !== $data['cost']) { $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); unset($data['cost']); - } elseif (\array_key_exists('cost', $data) && $data['cost'] === null) { + } elseif (\array_key_exists('cost', $data) && null === $data['cost']) { $object->setCost(null); } - 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; + if (\array_key_exists('periods', $data) && null !== $data['periods']) { + $values_1 = []; + foreach ($data['periods'] as $value_1) { + $values_1[] = $value_1; } $object->setPeriods($values_1); unset($data['periods']); - } elseif (\array_key_exists('periods', $data) && $data['periods'] === null) { + } elseif (\array_key_exists('periods', $data) && null === $data['periods']) { $object->setPeriods(null); } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; } } @@ -140,17 +131,19 @@ public function normalize($object, $format = null, array $context = []) } $data['options'] = $values; } - $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + if ($object->isInitialized('cost') && null !== $object->getCost()) { + $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + } if ($object->isInitialized('periods') && null !== $object->getPeriods()) { $values_1 = []; - foreach ($object->getPeriods() as $key => $value_1) { - $values_1[$key] = $value_1; + foreach ($object->getPeriods() as $value_1) { + $values_1[] = $value_1; } $data['periods'] = $values_1; } - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; } } diff --git a/src/Normalizer/SubscriptionNormalizer.php b/src/Normalizer/SubscriptionNormalizer.php index 803308c6..894c5c36 100644 --- a/src/Normalizer/SubscriptionNormalizer.php +++ b/src/Normalizer/SubscriptionNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Subscription'; + return 'Gyroscops\\Api\\Model\\Subscription' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Subscription'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Subscription' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,53 +43,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) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('offer', $data) && $data['offer'] !== null) { + if (\array_key_exists('offer', $data) && null !== $data['offer']) { $object->setOffer($data['offer']); unset($data['offer']); - } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('options', $data) && $data['options'] !== null) { + if (\array_key_exists('options', $data) && null !== $data['options']) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); unset($data['options']); - } elseif (\array_key_exists('options', $data) && $data['options'] === null) { + } elseif (\array_key_exists('options', $data) && null === $data['options']) { $object->setOptions(null); } - if (\array_key_exists('cost', $data) && $data['cost'] !== null) { + if (\array_key_exists('cost', $data) && null !== $data['cost']) { $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); unset($data['cost']); - } elseif (\array_key_exists('cost', $data) && $data['cost'] === null) { + } elseif (\array_key_exists('cost', $data) && null === $data['cost']) { $object->setCost(null); } - 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; + if (\array_key_exists('periods', $data) && null !== $data['periods']) { + $values_1 = []; + foreach ($data['periods'] as $value_1) { + $values_1[] = $value_1; } $object->setPeriods($values_1); unset($data['periods']); - } elseif (\array_key_exists('periods', $data) && $data['periods'] === null) { + } elseif (\array_key_exists('periods', $data) && null === $data['periods']) { $object->setPeriods(null); } - foreach ($data as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_2; + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; } } @@ -122,17 +113,19 @@ public function normalize($object, $format = null, array $context = []) } $data['options'] = $values; } - $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + if ($object->isInitialized('cost') && null !== $object->getCost()) { + $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + } if ($object->isInitialized('periods') && null !== $object->getPeriods()) { $values_1 = []; - foreach ($object->getPeriods() as $key => $value_1) { - $values_1[$key] = $value_1; + foreach ($object->getPeriods() as $value_1) { + $values_1[] = $value_1; } $data['periods'] = $values_1; } - foreach ($object as $key_1 => $value_2) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_2; + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; } } diff --git a/src/Normalizer/SubscriptionOfferJsonldReadNormalizer.php b/src/Normalizer/SubscriptionOfferJsonldReadNormalizer.php index b479cb87..0322a90f 100644 --- a/src/Normalizer/SubscriptionOfferJsonldReadNormalizer.php +++ b/src/Normalizer/SubscriptionOfferJsonldReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionOfferJsonldReadNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead'; + return 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,108 +43,108 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('color', $data) && $data['color'] !== null) { + if (\array_key_exists('color', $data) && null !== $data['color']) { $object->setColor($this->denormalizer->denormalize($data['color'], 'Gyroscops\\Api\\Model\\ColorJsonldRead', 'json', $context)); unset($data['color']); - } elseif (\array_key_exists('color', $data) && $data['color'] === null) { + } elseif (\array_key_exists('color', $data) && null === $data['color']) { $object->setColor(null); } - if (\array_key_exists('colorDepth', $data) && $data['colorDepth'] !== null) { + if (\array_key_exists('colorDepth', $data) && null !== $data['colorDepth']) { $object->setColorDepth($data['colorDepth']); unset($data['colorDepth']); - } elseif (\array_key_exists('colorDepth', $data) && $data['colorDepth'] === null) { + } elseif (\array_key_exists('colorDepth', $data) && null === $data['colorDepth']) { $object->setColorDepth(null); } - if (\array_key_exists('sku', $data) && $data['sku'] !== null) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); unset($data['sku']); - } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { $object->setSku(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { $object->setSlug(null); } - if (\array_key_exists('shortDescription', $data) && $data['shortDescription'] !== null) { + if (\array_key_exists('shortDescription', $data) && null !== $data['shortDescription']) { $object->setShortDescription($data['shortDescription']); unset($data['shortDescription']); - } elseif (\array_key_exists('shortDescription', $data) && $data['shortDescription'] === null) { + } elseif (\array_key_exists('shortDescription', $data) && null === $data['shortDescription']) { $object->setShortDescription(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('features', $data) && $data['features'] !== null) { + if (\array_key_exists('features', $data) && null !== $data['features']) { $values = []; foreach ($data['features'] as $value) { $values[] = $value; } $object->setFeatures($values); unset($data['features']); - } elseif (\array_key_exists('features', $data) && $data['features'] === null) { + } elseif (\array_key_exists('features', $data) && null === $data['features']) { $object->setFeatures(null); } - if (\array_key_exists('priceList', $data) && $data['priceList'] !== null) { + if (\array_key_exists('priceList', $data) && null !== $data['priceList']) { $values_1 = []; foreach ($data['priceList'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PriceJsonldRead', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\BuyablePriceJsonldRead', 'json', $context); } $object->setPriceList($values_1); unset($data['priceList']); - } elseif (\array_key_exists('priceList', $data) && $data['priceList'] === null) { + } elseif (\array_key_exists('priceList', $data) && null === $data['priceList']) { $object->setPriceList(null); } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/SubscriptionOfferJsonldWriteNormalizer.php b/src/Normalizer/SubscriptionOfferJsonldWriteNormalizer.php index 92262388..10abb959 100644 --- a/src/Normalizer/SubscriptionOfferJsonldWriteNormalizer.php +++ b/src/Normalizer/SubscriptionOfferJsonldWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionOfferJsonldWriteNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldWrite'; + return 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOfferJsonldWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,46 +43,46 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/SubscriptionOfferReadNormalizer.php b/src/Normalizer/SubscriptionOfferReadNormalizer.php index c43ad570..c25240cf 100644 --- a/src/Normalizer/SubscriptionOfferReadNormalizer.php +++ b/src/Normalizer/SubscriptionOfferReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionOfferReadNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionOfferRead'; + return 'Gyroscops\\Api\\Model\\SubscriptionOfferRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionOfferRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOfferRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,94 +43,94 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('color', $data) && $data['color'] !== null) { + if (\array_key_exists('color', $data) && null !== $data['color']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['color'] as $key => $value) { $values[$key] = $value; } $object->setColor($values); unset($data['color']); - } elseif (\array_key_exists('color', $data) && $data['color'] === null) { + } elseif (\array_key_exists('color', $data) && null === $data['color']) { $object->setColor(null); } - if (\array_key_exists('colorDepth', $data) && $data['colorDepth'] !== null) { + if (\array_key_exists('colorDepth', $data) && null !== $data['colorDepth']) { $object->setColorDepth($data['colorDepth']); unset($data['colorDepth']); - } elseif (\array_key_exists('colorDepth', $data) && $data['colorDepth'] === null) { + } elseif (\array_key_exists('colorDepth', $data) && null === $data['colorDepth']) { $object->setColorDepth(null); } - if (\array_key_exists('sku', $data) && $data['sku'] !== null) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); unset($data['sku']); - } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { $object->setSku(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { $object->setSlug(null); } - if (\array_key_exists('shortDescription', $data) && $data['shortDescription'] !== null) { + if (\array_key_exists('shortDescription', $data) && null !== $data['shortDescription']) { $object->setShortDescription($data['shortDescription']); unset($data['shortDescription']); - } elseif (\array_key_exists('shortDescription', $data) && $data['shortDescription'] === null) { + } elseif (\array_key_exists('shortDescription', $data) && null === $data['shortDescription']) { $object->setShortDescription(null); } - if (\array_key_exists('description', $data) && $data['description'] !== null) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); unset($data['description']); - } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + } elseif (\array_key_exists('description', $data) && null === $data['description']) { $object->setDescription(null); } - if (\array_key_exists('features', $data) && $data['features'] !== null) { + if (\array_key_exists('features', $data) && null !== $data['features']) { $values_1 = []; foreach ($data['features'] as $value_1) { $values_1[] = $value_1; } $object->setFeatures($values_1); unset($data['features']); - } elseif (\array_key_exists('features', $data) && $data['features'] === null) { + } elseif (\array_key_exists('features', $data) && null === $data['features']) { $object->setFeatures(null); } - if (\array_key_exists('priceList', $data) && $data['priceList'] !== null) { + if (\array_key_exists('priceList', $data) && null !== $data['priceList']) { $values_2 = []; foreach ($data['priceList'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\PriceRead', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\BuyablePriceRead', 'json', $context); } $object->setPriceList($values_2); unset($data['priceList']); - } elseif (\array_key_exists('priceList', $data) && $data['priceList'] === null) { + } elseif (\array_key_exists('priceList', $data) && null === $data['priceList']) { $object->setPriceList(null); } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key_1 => $value_3) { diff --git a/src/Normalizer/SubscriptionOfferWriteNormalizer.php b/src/Normalizer/SubscriptionOfferWriteNormalizer.php index 338cdd4c..5b801e55 100644 --- a/src/Normalizer/SubscriptionOfferWriteNormalizer.php +++ b/src/Normalizer/SubscriptionOfferWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionOfferWriteNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionOfferWrite'; + return 'Gyroscops\\Api\\Model\\SubscriptionOfferWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionOfferWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOfferWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('rank', $data) && $data['rank'] !== null) { + if (\array_key_exists('rank', $data) && null !== $data['rank']) { $object->setRank($data['rank']); unset($data['rank']); - } elseif (\array_key_exists('rank', $data) && $data['rank'] === null) { + } elseif (\array_key_exists('rank', $data) && null === $data['rank']) { $object->setRank(null); } - if (\array_key_exists('active', $data) && $data['active'] !== null) { + if (\array_key_exists('active', $data) && null !== $data['active']) { $object->setActive($data['active']); unset($data['active']); - } elseif (\array_key_exists('active', $data) && $data['active'] === null) { + } elseif (\array_key_exists('active', $data) && null === $data['active']) { $object->setActive(null); } - if (\array_key_exists('activeFrom', $data) && $data['activeFrom'] !== null) { + if (\array_key_exists('activeFrom', $data) && null !== $data['activeFrom']) { $object->setActiveFrom(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeFrom'])); unset($data['activeFrom']); - } elseif (\array_key_exists('activeFrom', $data) && $data['activeFrom'] === null) { + } elseif (\array_key_exists('activeFrom', $data) && null === $data['activeFrom']) { $object->setActiveFrom(null); } - if (\array_key_exists('activeUntil', $data) && $data['activeUntil'] !== null) { + if (\array_key_exists('activeUntil', $data) && null !== $data['activeUntil']) { $object->setActiveUntil(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['activeUntil'])); unset($data['activeUntil']); - } elseif (\array_key_exists('activeUntil', $data) && $data['activeUntil'] === null) { + } elseif (\array_key_exists('activeUntil', $data) && null === $data['activeUntil']) { $object->setActiveUntil(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php index 9450f0ae..c4b02908 100644 --- a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php +++ b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionOptionJsonldNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld'; + return 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,40 +43,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('id', $data) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(null); } - if (\array_key_exists('subscription', $data) && $data['subscription'] !== null) { + if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { $object->setSubscription($data['subscription']); unset($data['subscription']); - } elseif (\array_key_exists('subscription', $data) && $data['subscription'] === null) { + } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { $object->setSubscription(null); } - if (\array_key_exists('option', $data) && $data['option'] !== null) { + if (\array_key_exists('option', $data) && null !== $data['option']) { $object->setOption($data['option']); unset($data['option']); - } elseif (\array_key_exists('option', $data) && $data['option'] === null) { + } elseif (\array_key_exists('option', $data) && null === $data['option']) { $object->setOption(null); } - if (\array_key_exists('price', $data) && $data['price'] !== null) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); unset($data['price']); - } elseif (\array_key_exists('price', $data) && $data['price'] === null) { + } elseif (\array_key_exists('price', $data) && null === $data['price']) { $object->setPrice(null); } foreach ($data as $key => $value) { @@ -105,7 +96,9 @@ public function normalize($object, $format = null, array $context = []) $data = []; $data['subscription'] = $object->getSubscription(); $data['option'] = $object->getOption(); - $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + if ($object->isInitialized('price') && null !== $object->getPrice()) { + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + } foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { $data[$key] = $value; diff --git a/src/Normalizer/SubscriptionOptionNormalizer.php b/src/Normalizer/SubscriptionOptionNormalizer.php index 91cf55d8..e201c80b 100644 --- a/src/Normalizer/SubscriptionOptionNormalizer.php +++ b/src/Normalizer/SubscriptionOptionNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionOptionNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionOption'; + return 'Gyroscops\\Api\\Model\\SubscriptionOption' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionOption'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOption' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['id'] !== null) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(null); } - if (\array_key_exists('subscription', $data) && $data['subscription'] !== null) { + if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { $object->setSubscription($data['subscription']); unset($data['subscription']); - } elseif (\array_key_exists('subscription', $data) && $data['subscription'] === null) { + } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { $object->setSubscription(null); } - if (\array_key_exists('option', $data) && $data['option'] !== null) { + if (\array_key_exists('option', $data) && null !== $data['option']) { $object->setOption($data['option']); unset($data['option']); - } elseif (\array_key_exists('option', $data) && $data['option'] === null) { + } elseif (\array_key_exists('option', $data) && null === $data['option']) { $object->setOption(null); } - if (\array_key_exists('price', $data) && $data['price'] !== null) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); unset($data['price']); - } elseif (\array_key_exists('price', $data) && $data['price'] === null) { + } elseif (\array_key_exists('price', $data) && null === $data['price']) { $object->setPrice(null); } foreach ($data as $key => $value) { @@ -93,7 +84,9 @@ public function normalize($object, $format = null, array $context = []) $data = []; $data['subscription'] = $object->getSubscription(); $data['option'] = $object->getOption(); - $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + if ($object->isInitialized('price') && null !== $object->getPrice()) { + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + } foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { $data[$key] = $value; diff --git a/src/Normalizer/SubscriptionTypeJsonldNormalizer.php b/src/Normalizer/SubscriptionTypeJsonldNormalizer.php index dc2b45c6..51bac550 100644 --- a/src/Normalizer/SubscriptionTypeJsonldNormalizer.php +++ b/src/Normalizer/SubscriptionTypeJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionTypeJsonldNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld'; + return 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('value', $data) && $data['value'] !== null) { + if (\array_key_exists('value', $data) && null !== $data['value']) { $object->setValue($data['value']); unset($data['value']); - } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + } elseif (\array_key_exists('value', $data) && null === $data['value']) { $object->setValue(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/SubscriptionTypeJsonldReadNormalizer.php b/src/Normalizer/SubscriptionTypeJsonldReadNormalizer.php index 3af4fd5d..4b020401 100644 --- a/src/Normalizer/SubscriptionTypeJsonldReadNormalizer.php +++ b/src/Normalizer/SubscriptionTypeJsonldReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionTypeJsonldReadNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead'; + return 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/SubscriptionTypeNormalizer.php b/src/Normalizer/SubscriptionTypeNormalizer.php index 1104ecc9..3873b7c9 100644 --- a/src/Normalizer/SubscriptionTypeNormalizer.php +++ b/src/Normalizer/SubscriptionTypeNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class SubscriptionTypeNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SubscriptionType'; + return 'Gyroscops\\Api\\Model\\SubscriptionType' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SubscriptionType'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionType' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,16 +43,16 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data) && $data['name'] !== null) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + } elseif (\array_key_exists('name', $data) && null === $data['name']) { $object->setName(null); } - if (\array_key_exists('value', $data) && $data['value'] !== null) { + if (\array_key_exists('value', $data) && null !== $data['value']) { $object->setValue($data['value']); unset($data['value']); - } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + } elseif (\array_key_exists('value', $data) && null === $data['value']) { $object->setValue(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/TemplateDeclareSatelliteTemplateInputJsonldNormalizer.php b/src/Normalizer/TemplateDeclareSatelliteTemplateInputJsonldNormalizer.php new file mode 100644 index 00000000..de714b82 --- /dev/null +++ b/src/Normalizer/TemplateDeclareSatelliteTemplateInputJsonldNormalizer.php @@ -0,0 +1,148 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values = []; + foreach ($data['pictograms'] as $value) { + $values[] = $value; + } + $object->setPictograms($values); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_1 = []; + foreach ($data['template'] as $value_1) { + $values_1[] = $value_1; + } + $object->setTemplate($values_1); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('code') && null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values = []; + foreach ($object->getPictograms() as $value) { + $values[] = $value; + } + $data['pictograms'] = $values; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_1 = []; + foreach ($object->getTemplate() as $value_1) { + $values_1[] = $value_1; + } + $data['template'] = $values_1; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateDeclareSatelliteTemplateInputNormalizer.php b/src/Normalizer/TemplateDeclareSatelliteTemplateInputNormalizer.php new file mode 100644 index 00000000..d86fe983 --- /dev/null +++ b/src/Normalizer/TemplateDeclareSatelliteTemplateInputNormalizer.php @@ -0,0 +1,130 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values = []; + foreach ($data['pictograms'] as $value) { + $values[] = $value; + } + $object->setPictograms($values); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_1 = []; + foreach ($data['template'] as $value_1) { + $values_1[] = $value_1; + } + $object->setTemplate($values_1); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('code') && null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values = []; + foreach ($object->getPictograms() as $value) { + $values[] = $value; + } + $data['pictograms'] = $values; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_1 = []; + foreach ($object->getTemplate() as $value_1) { + $values_1[] = $value_1; + } + $data['template'] = $values_1; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateJsonldNormalizer.php b/src/Normalizer/TemplateJsonldNormalizer.php new file mode 100644 index 00000000..dc6e015a --- /dev/null +++ b/src/Normalizer/TemplateJsonldNormalizer.php @@ -0,0 +1,166 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateJsonldTemplateCreateNormalizer.php b/src/Normalizer/TemplateJsonldTemplateCreateNormalizer.php new file mode 100644 index 00000000..7ada53da --- /dev/null +++ b/src/Normalizer/TemplateJsonldTemplateCreateNormalizer.php @@ -0,0 +1,159 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateJsonldTemplateListNormalizer.php b/src/Normalizer/TemplateJsonldTemplateListNormalizer.php new file mode 100644 index 00000000..682f6ad1 --- /dev/null +++ b/src/Normalizer/TemplateJsonldTemplateListNormalizer.php @@ -0,0 +1,160 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateJsonldTemplateUpdateNormalizer.php b/src/Normalizer/TemplateJsonldTemplateUpdateNormalizer.php new file mode 100644 index 00000000..fd2fc974 --- /dev/null +++ b/src/Normalizer/TemplateJsonldTemplateUpdateNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateJsonldTemplateViewNormalizer.php b/src/Normalizer/TemplateJsonldTemplateViewNormalizer.php new file mode 100644 index 00000000..4aaee6d2 --- /dev/null +++ b/src/Normalizer/TemplateJsonldTemplateViewNormalizer.php @@ -0,0 +1,166 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateNormalizer.php b/src/Normalizer/TemplateNormalizer.php new file mode 100644 index 00000000..0023b57f --- /dev/null +++ b/src/Normalizer/TemplateNormalizer.php @@ -0,0 +1,148 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateTemplateCreateNormalizer.php b/src/Normalizer/TemplateTemplateCreateNormalizer.php new file mode 100644 index 00000000..834688c0 --- /dev/null +++ b/src/Normalizer/TemplateTemplateCreateNormalizer.php @@ -0,0 +1,141 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateTemplateListNormalizer.php b/src/Normalizer/TemplateTemplateListNormalizer.php new file mode 100644 index 00000000..1f156c74 --- /dev/null +++ b/src/Normalizer/TemplateTemplateListNormalizer.php @@ -0,0 +1,148 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TemplateTemplateViewNormalizer.php b/src/Normalizer/TemplateTemplateViewNormalizer.php new file mode 100644 index 00000000..fc7a7cae --- /dev/null +++ b/src/Normalizer/TemplateTemplateViewNormalizer.php @@ -0,0 +1,148 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('keywords', $data) && null !== $data['keywords']) { + $values = []; + foreach ($data['keywords'] as $value) { + $values[] = $value; + } + $object->setKeywords($values); + unset($data['keywords']); + } elseif (\array_key_exists('keywords', $data) && null === $data['keywords']) { + $object->setKeywords(null); + } + if (\array_key_exists('pictograms', $data) && null !== $data['pictograms']) { + $values_1 = []; + foreach ($data['pictograms'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPictograms($values_1); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); + } + if (\array_key_exists('template', $data) && null !== $data['template']) { + $values_2 = []; + foreach ($data['template'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTemplate($values_2); + unset($data['template']); + } elseif (\array_key_exists('template', $data) && null === $data['template']) { + $object->setTemplate(null); + } + foreach ($data as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_3; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['description'] = $object->getDescription(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('keywords') && null !== $object->getKeywords()) { + $values = []; + foreach ($object->getKeywords() as $value) { + $values[] = $value; + } + $data['keywords'] = $values; + } + if ($object->isInitialized('pictograms') && null !== $object->getPictograms()) { + $values_1 = []; + foreach ($object->getPictograms() as $value_1) { + $values_1[] = $value_1; + } + $data['pictograms'] = $values_1; + } + if ($object->isInitialized('template') && null !== $object->getTemplate()) { + $values_2 = []; + foreach ($object->getTemplate() as $value_2) { + $values_2[] = $value_2; + } + $data['template'] = $values_2; + } + foreach ($object as $key => $value_3) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_3; + } + } + + return $data; + } +} diff --git a/src/Normalizer/TokenNormalizer.php b/src/Normalizer/TokenNormalizer.php index 768ce1ea..9f19ccd3 100644 --- a/src/Normalizer/TokenNormalizer.php +++ b/src/Normalizer/TokenNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class TokenNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Token'; + return 'Gyroscops\\Api\\Model\\Token' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Token'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\Token' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,10 +43,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('token', $data) && $data['token'] !== null) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); unset($data['token']); - } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + } elseif (\array_key_exists('token', $data) && null === $data['token']) { $object->setToken(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/TraversableJsonldNormalizer.php b/src/Normalizer/TraversableJsonldNormalizer.php deleted file mode 100644 index a90defb6..00000000 --- a/src/Normalizer/TraversableJsonldNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserAuthorizationAuthorizationReadNormalizer.php b/src/Normalizer/UserAuthorizationAuthorizationReadNormalizer.php new file mode 100644 index 00000000..acf7bc4b --- /dev/null +++ b/src/Normalizer/UserAuthorizationAuthorizationReadNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('user', $data) && null !== $data['user']) { + $object->setUser($data['user']); + unset($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('resource', $data) && null !== $data['resource']) { + $object->setResource($data['resource']); + unset($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('user') && null !== $object->getUser()) { + $data['user'] = $object->getUser(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + $data['resource'] = $object->getResource(); + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/UserAuthorizationAuthorizationWriteNormalizer.php b/src/Normalizer/UserAuthorizationAuthorizationWriteNormalizer.php new file mode 100644 index 00000000..3784b4a3 --- /dev/null +++ b/src/Normalizer/UserAuthorizationAuthorizationWriteNormalizer.php @@ -0,0 +1,118 @@ +setUser($data['user']); + unset($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('resource', $data) && null !== $data['resource']) { + $object->setResource($data['resource']); + unset($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('user') && null !== $object->getUser()) { + $data['user'] = $object->getUser(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + $data['resource'] = $object->getResource(); + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/UserAuthorizationJsonldAuthorizationReadNormalizer.php b/src/Normalizer/UserAuthorizationJsonldAuthorizationReadNormalizer.php new file mode 100644 index 00000000..2fd0135e --- /dev/null +++ b/src/Normalizer/UserAuthorizationJsonldAuthorizationReadNormalizer.php @@ -0,0 +1,142 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('user', $data) && null !== $data['user']) { + $object->setUser($data['user']); + unset($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('resource', $data) && null !== $data['resource']) { + $object->setResource($data['resource']); + unset($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('user') && null !== $object->getUser()) { + $data['user'] = $object->getUser(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + $data['resource'] = $object->getResource(); + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/UserAuthorizationJsonldAuthorizationWriteNormalizer.php b/src/Normalizer/UserAuthorizationJsonldAuthorizationWriteNormalizer.php new file mode 100644 index 00000000..97d7a4ca --- /dev/null +++ b/src/Normalizer/UserAuthorizationJsonldAuthorizationWriteNormalizer.php @@ -0,0 +1,136 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('user', $data) && null !== $data['user']) { + $object->setUser($data['user']); + unset($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('resource', $data) && null !== $data['resource']) { + $object->setResource($data['resource']); + unset($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('user') && null !== $object->getUser()) { + $data['user'] = $object->getUser(); + } + if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + $data['resource'] = $object->getResource(); + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/UserAuthorizationJsonldNormalizer.php b/src/Normalizer/UserAuthorizationJsonldNormalizer.php deleted file mode 100644 index 772bad79..00000000 --- a/src/Normalizer/UserAuthorizationJsonldNormalizer.php +++ /dev/null @@ -1,151 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $object->setUser($data['user']); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { - $object->setWorkspace($data['workspace']); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - if (\array_key_exists('resource', $data) && $data['resource'] !== null) { - $object->setResource($data['resource']); - unset($data['resource']); - } elseif (\array_key_exists('resource', $data) && $data['resource'] === null) { - $object->setResource(null); - } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { - $values = []; - foreach ($data['authorizations'] as $value) { - $values[] = $value; - } - $object->setAuthorizations($values); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('user') && null !== $object->getUser()) { - $data['user'] = $object->getUser(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - $data['resource'] = $object->getResource(); - $values = []; - foreach ($object->getAuthorizations() as $value) { - $values[] = $value; - } - $data['authorizations'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserAuthorizationNormalizer.php b/src/Normalizer/UserAuthorizationNormalizer.php deleted file mode 100644 index 4472c993..00000000 --- a/src/Normalizer/UserAuthorizationNormalizer.php +++ /dev/null @@ -1,133 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('user', $data) && $data['user'] !== null) { - $object->setUser($data['user']); - unset($data['user']); - } elseif (\array_key_exists('user', $data) && $data['user'] === null) { - $object->setUser(null); - } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { - $object->setWorkspace($data['workspace']); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - if (\array_key_exists('resource', $data) && $data['resource'] !== null) { - $object->setResource($data['resource']); - unset($data['resource']); - } elseif (\array_key_exists('resource', $data) && $data['resource'] === null) { - $object->setResource(null); - } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { - $values = []; - foreach ($data['authorizations'] as $value) { - $values[] = $value; - } - $object->setAuthorizations($values); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('user') && null !== $object->getUser()) { - $data['user'] = $object->getUser(); - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - $data['resource'] = $object->getResource(); - $values = []; - foreach ($object->getAuthorizations() as $value) { - $values[] = $value; - } - $data['authorizations'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserIdJsonldNormalizer.php b/src/Normalizer/UserIdJsonldNormalizer.php deleted file mode 100644 index ae02d694..00000000 --- a/src/Normalizer/UserIdJsonldNormalizer.php +++ /dev/null @@ -1,102 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('nil', $data) && $data['nil'] !== null) { - $object->setNil($data['nil']); - unset($data['nil']); - } elseif (\array_key_exists('nil', $data) && $data['nil'] === null) { - $object->setNil(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserIdNormalizer.php b/src/Normalizer/UserIdNormalizer.php deleted file mode 100644 index 15188f67..00000000 --- a/src/Normalizer/UserIdNormalizer.php +++ /dev/null @@ -1,84 +0,0 @@ -setNil($data['nil']); - unset($data['nil']); - } elseif (\array_key_exists('nil', $data) && $data['nil'] === null) { - $object->setNil(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserJsonldNormalizer.php b/src/Normalizer/UserJsonldNormalizer.php deleted file mode 100644 index 76f5a76d..00000000 --- a/src/Normalizer/UserJsonldNormalizer.php +++ /dev/null @@ -1,325 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { - $object->setFirstName($data['firstName']); - unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { - $object->setFirstName(null); - } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { - $object->setLastName($data['lastName']); - unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { - $object->setLastName(null); - } - if (\array_key_exists('username', $data) && $data['username'] !== null) { - $object->setUsername($data['username']); - unset($data['username']); - } elseif (\array_key_exists('username', $data) && $data['username'] === null) { - $object->setUsername(null); - } - if (\array_key_exists('email', $data) && $data['email'] !== null) { - $object->setEmail($data['email']); - unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { - $object->setEmail(null); - } - if (\array_key_exists('password', $data) && $data['password'] !== null) { - $object->setPassword($data['password']); - unset($data['password']); - } elseif (\array_key_exists('password', $data) && $data['password'] === null) { - $object->setPassword(null); - } - if (\array_key_exists('enabled', $data) && $data['enabled'] !== null) { - $object->setEnabled($data['enabled']); - unset($data['enabled']); - } elseif (\array_key_exists('enabled', $data) && $data['enabled'] === null) { - $object->setEnabled(null); - } - if (\array_key_exists('roles', $data) && $data['roles'] !== null) { - $values = []; - foreach ($data['roles'] as $value) { - $values_1 = []; - foreach ($value as $value_1) { - $values_1[] = $value_1; - } - $values[] = $values_1; - } - $object->setRoles($values); - unset($data['roles']); - } elseif (\array_key_exists('roles', $data) && $data['roles'] === null) { - $object->setRoles(null); - } - 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); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - 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); - unset($data['additionalOrganizations']); - } elseif (\array_key_exists('additionalOrganizations', $data) && $data['additionalOrganizations'] === null) { - $object->setAdditionalOrganizations(null); - } - 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); - unset($data['workspaces']); - } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { - $object->setWorkspaces(null); - } - if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { - $object->setCurrentWorkspace($data['currentWorkspace']); - unset($data['currentWorkspace']); - } elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { - $object->setCurrentWorkspace(null); - } - if (\array_key_exists('currentOrganization', $data) && $data['currentOrganization'] !== null) { - $object->setCurrentOrganization($data['currentOrganization']); - unset($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); - unset($data['referralCodes']); - } elseif (\array_key_exists('referralCodes', $data) && $data['referralCodes'] === null) { - $object->setReferralCodes(null); - } - 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); - unset($data['acceptedReferralRequests']); - } elseif (\array_key_exists('acceptedReferralRequests', $data) && $data['acceptedReferralRequests'] === null) { - $object->setAcceptedReferralRequests(null); - } - if (\array_key_exists('akeneoLinkedAccounts', $data) && $data['akeneoLinkedAccounts'] !== null) { - $values_7 = []; - foreach ($data['akeneoLinkedAccounts'] as $value_7) { - $values_7[] = $value_7; - } - $object->setAkeneoLinkedAccounts($values_7); - unset($data['akeneoLinkedAccounts']); - } elseif (\array_key_exists('akeneoLinkedAccounts', $data) && $data['akeneoLinkedAccounts'] === null) { - $object->setAkeneoLinkedAccounts(null); - } - if (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] !== null) { - $object->setUserIdentifier($data['userIdentifier']); - unset($data['userIdentifier']); - } elseif (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] === null) { - $object->setUserIdentifier(null); - } - if (\array_key_exists('fullName', $data) && $data['fullName'] !== null) { - $object->setFullName($data['fullName']); - unset($data['fullName']); - } elseif (\array_key_exists('fullName', $data) && $data['fullName'] === null) { - $object->setFullName(null); - } - if (\array_key_exists('salt', $data) && $data['salt'] !== null) { - $object->setSalt($data['salt']); - unset($data['salt']); - } elseif (\array_key_exists('salt', $data) && $data['salt'] === null) { - $object->setSalt(null); - } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { - $values_8 = []; - foreach ($data['workspace'] as $value_8) { - $values_8[] = $value_8; - } - $object->setWorkspace($values_8); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - foreach ($data as $key => $value_9) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_9; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['firstName'] = $object->getFirstName(); - $data['lastName'] = $object->getLastName(); - $data['username'] = $object->getUsername(); - if ($object->isInitialized('email') && null !== $object->getEmail()) { - $data['email'] = $object->getEmail(); - } - if ($object->isInitialized('password') && null !== $object->getPassword()) { - $data['password'] = $object->getPassword(); - } - if ($object->isInitialized('enabled') && null !== $object->getEnabled()) { - $data['enabled'] = $object->getEnabled(); - } - if ($object->isInitialized('roles') && null !== $object->getRoles()) { - $values = []; - foreach ($object->getRoles() as $value) { - $values_1 = []; - foreach ($value as $value_1) { - $values_1[] = $value_1; - } - $values[] = $values_1; - } - $data['roles'] = $values; - } - if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { - $values_2 = []; - foreach ($object->getAuthorizations() as $value_2) { - $values_2[] = $value_2; - } - $data['authorizations'] = $values_2; - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('additionalOrganizations') && null !== $object->getAdditionalOrganizations()) { - $values_3 = []; - foreach ($object->getAdditionalOrganizations() as $value_3) { - $values_3[] = $value_3; - } - $data['additionalOrganizations'] = $values_3; - } - if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { - $values_4 = []; - foreach ($object->getWorkspaces() as $value_4) { - $values_4[] = $value_4; - } - $data['workspaces'] = $values_4; - } - if ($object->isInitialized('currentWorkspace') && null !== $object->getCurrentWorkspace()) { - $data['currentWorkspace'] = $object->getCurrentWorkspace(); - } - if ($object->isInitialized('currentOrganization') && null !== $object->getCurrentOrganization()) { - $data['currentOrganization'] = $object->getCurrentOrganization(); - } - if ($object->isInitialized('akeneoLinkedAccounts') && null !== $object->getAkeneoLinkedAccounts()) { - $values_5 = []; - foreach ($object->getAkeneoLinkedAccounts() as $value_5) { - $values_5[] = $value_5; - } - $data['akeneoLinkedAccounts'] = $values_5; - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $values_6 = []; - foreach ($object->getWorkspace() as $value_6) { - $values_6[] = $value_6; - } - $data['workspace'] = $values_6; - } - foreach ($object as $key => $value_7) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_7; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserJsonldUserReadNormalizer.php b/src/Normalizer/UserJsonldUserReadNormalizer.php new file mode 100644 index 00000000..94138a31 --- /dev/null +++ b/src/Normalizer/UserJsonldUserReadNormalizer.php @@ -0,0 +1,217 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + $object->setFirstName($data['firstName']); + unset($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); + } + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + $object->setLastName($data['lastName']); + unset($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); + } + if (\array_key_exists('username', $data) && null !== $data['username']) { + $object->setUsername($data['username']); + unset($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); + } + if (\array_key_exists('email', $data) && null !== $data['email']) { + $object->setEmail($data['email']); + unset($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); + } + if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { + $object->setEnabled($data['enabled']); + unset($data['enabled']); + } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + $object->setEnabled(null); + } + if (\array_key_exists('roles', $data) && null !== $data['roles']) { + $values = []; + foreach ($data['roles'] as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $object->setRoles($values); + unset($data['roles']); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values_2 = []; + foreach ($data['authorizations'] as $value_2) { + $values_2[] = $value_2; + } + $object->setAuthorizations($values_2); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('additionalOrganizations', $data) && null !== $data['additionalOrganizations']) { + $values_3 = []; + foreach ($data['additionalOrganizations'] as $value_3) { + $values_3[] = $value_3; + } + $object->setAdditionalOrganizations($values_3); + unset($data['additionalOrganizations']); + } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + $object->setAdditionalOrganizations(null); + } + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_4 = []; + foreach ($data['workspaces'] as $value_4) { + $values_4[] = $value_4; + } + $object->setWorkspaces($values_4); + unset($data['workspaces']); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); + } + foreach ($data as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_5; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['firstName'] = $object->getFirstName(); + $data['lastName'] = $object->getLastName(); + $data['username'] = $object->getUsername(); + if ($object->isInitialized('email') && null !== $object->getEmail()) { + $data['email'] = $object->getEmail(); + } + if ($object->isInitialized('enabled') && null !== $object->getEnabled()) { + $data['enabled'] = $object->getEnabled(); + } + if ($object->isInitialized('roles') && null !== $object->getRoles()) { + $values = []; + foreach ($object->getRoles() as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $data['roles'] = $values; + } + if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { + $values_2 = []; + foreach ($object->getAuthorizations() as $value_2) { + $values_2[] = $value_2; + } + $data['authorizations'] = $values_2; + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if ($object->isInitialized('additionalOrganizations') && null !== $object->getAdditionalOrganizations()) { + $values_3 = []; + foreach ($object->getAdditionalOrganizations() as $value_3) { + $values_3[] = $value_3; + } + $data['additionalOrganizations'] = $values_3; + } + if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { + $values_4 = []; + foreach ($object->getWorkspaces() as $value_4) { + $values_4[] = $value_4; + } + $data['workspaces'] = $values_4; + } + foreach ($object as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_5; + } + } + + return $data; + } +} diff --git a/src/Normalizer/UserJsonldUserWriteNormalizer.php b/src/Normalizer/UserJsonldUserWriteNormalizer.php new file mode 100644 index 00000000..c4fcc82a --- /dev/null +++ b/src/Normalizer/UserJsonldUserWriteNormalizer.php @@ -0,0 +1,160 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + $object->setFirstName($data['firstName']); + unset($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); + } + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + $object->setLastName($data['lastName']); + unset($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); + } + if (\array_key_exists('username', $data) && null !== $data['username']) { + $object->setUsername($data['username']); + unset($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); + } + if (\array_key_exists('email', $data) && null !== $data['email']) { + $object->setEmail($data['email']); + unset($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); + } + if (\array_key_exists('password', $data) && null !== $data['password']) { + $object->setPassword($data['password']); + unset($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); + } + if (\array_key_exists('roles', $data) && null !== $data['roles']) { + $values = []; + foreach ($data['roles'] as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $object->setRoles($values); + unset($data['roles']); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['firstName'] = $object->getFirstName(); + $data['lastName'] = $object->getLastName(); + $data['username'] = $object->getUsername(); + if ($object->isInitialized('email') && null !== $object->getEmail()) { + $data['email'] = $object->getEmail(); + } + if ($object->isInitialized('password') && null !== $object->getPassword()) { + $data['password'] = $object->getPassword(); + } + if ($object->isInitialized('roles') && null !== $object->getRoles()) { + $values = []; + foreach ($object->getRoles() as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $data['roles'] = $values; + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/UserNormalizer.php b/src/Normalizer/UserNormalizer.php deleted file mode 100644 index 7f3b768b..00000000 --- a/src/Normalizer/UserNormalizer.php +++ /dev/null @@ -1,307 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { - $object->setFirstName($data['firstName']); - unset($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { - $object->setFirstName(null); - } - if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { - $object->setLastName($data['lastName']); - unset($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { - $object->setLastName(null); - } - if (\array_key_exists('username', $data) && $data['username'] !== null) { - $object->setUsername($data['username']); - unset($data['username']); - } elseif (\array_key_exists('username', $data) && $data['username'] === null) { - $object->setUsername(null); - } - if (\array_key_exists('email', $data) && $data['email'] !== null) { - $object->setEmail($data['email']); - unset($data['email']); - } elseif (\array_key_exists('email', $data) && $data['email'] === null) { - $object->setEmail(null); - } - if (\array_key_exists('password', $data) && $data['password'] !== null) { - $object->setPassword($data['password']); - unset($data['password']); - } elseif (\array_key_exists('password', $data) && $data['password'] === null) { - $object->setPassword(null); - } - if (\array_key_exists('enabled', $data) && $data['enabled'] !== null) { - $object->setEnabled($data['enabled']); - unset($data['enabled']); - } elseif (\array_key_exists('enabled', $data) && $data['enabled'] === null) { - $object->setEnabled(null); - } - if (\array_key_exists('roles', $data) && $data['roles'] !== null) { - $values = []; - foreach ($data['roles'] as $value) { - $values_1 = []; - foreach ($value as $value_1) { - $values_1[] = $value_1; - } - $values[] = $values_1; - } - $object->setRoles($values); - unset($data['roles']); - } elseif (\array_key_exists('roles', $data) && $data['roles'] === null) { - $object->setRoles(null); - } - 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); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - 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); - unset($data['additionalOrganizations']); - } elseif (\array_key_exists('additionalOrganizations', $data) && $data['additionalOrganizations'] === null) { - $object->setAdditionalOrganizations(null); - } - 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); - unset($data['workspaces']); - } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { - $object->setWorkspaces(null); - } - if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { - $object->setCurrentWorkspace($data['currentWorkspace']); - unset($data['currentWorkspace']); - } elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { - $object->setCurrentWorkspace(null); - } - if (\array_key_exists('currentOrganization', $data) && $data['currentOrganization'] !== null) { - $object->setCurrentOrganization($data['currentOrganization']); - unset($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); - unset($data['referralCodes']); - } elseif (\array_key_exists('referralCodes', $data) && $data['referralCodes'] === null) { - $object->setReferralCodes(null); - } - 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); - unset($data['acceptedReferralRequests']); - } elseif (\array_key_exists('acceptedReferralRequests', $data) && $data['acceptedReferralRequests'] === null) { - $object->setAcceptedReferralRequests(null); - } - if (\array_key_exists('akeneoLinkedAccounts', $data) && $data['akeneoLinkedAccounts'] !== null) { - $values_7 = []; - foreach ($data['akeneoLinkedAccounts'] as $value_7) { - $values_7[] = $value_7; - } - $object->setAkeneoLinkedAccounts($values_7); - unset($data['akeneoLinkedAccounts']); - } elseif (\array_key_exists('akeneoLinkedAccounts', $data) && $data['akeneoLinkedAccounts'] === null) { - $object->setAkeneoLinkedAccounts(null); - } - if (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] !== null) { - $object->setUserIdentifier($data['userIdentifier']); - unset($data['userIdentifier']); - } elseif (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] === null) { - $object->setUserIdentifier(null); - } - if (\array_key_exists('fullName', $data) && $data['fullName'] !== null) { - $object->setFullName($data['fullName']); - unset($data['fullName']); - } elseif (\array_key_exists('fullName', $data) && $data['fullName'] === null) { - $object->setFullName(null); - } - if (\array_key_exists('salt', $data) && $data['salt'] !== null) { - $object->setSalt($data['salt']); - unset($data['salt']); - } elseif (\array_key_exists('salt', $data) && $data['salt'] === null) { - $object->setSalt(null); - } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { - $values_8 = []; - foreach ($data['workspace'] as $value_8) { - $values_8[] = $value_8; - } - $object->setWorkspace($values_8); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(null); - } - foreach ($data as $key => $value_9) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_9; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['firstName'] = $object->getFirstName(); - $data['lastName'] = $object->getLastName(); - $data['username'] = $object->getUsername(); - if ($object->isInitialized('email') && null !== $object->getEmail()) { - $data['email'] = $object->getEmail(); - } - if ($object->isInitialized('password') && null !== $object->getPassword()) { - $data['password'] = $object->getPassword(); - } - if ($object->isInitialized('enabled') && null !== $object->getEnabled()) { - $data['enabled'] = $object->getEnabled(); - } - if ($object->isInitialized('roles') && null !== $object->getRoles()) { - $values = []; - foreach ($object->getRoles() as $value) { - $values_1 = []; - foreach ($value as $value_1) { - $values_1[] = $value_1; - } - $values[] = $values_1; - } - $data['roles'] = $values; - } - if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { - $values_2 = []; - foreach ($object->getAuthorizations() as $value_2) { - $values_2[] = $value_2; - } - $data['authorizations'] = $values_2; - } - if ($object->isInitialized('organization') && null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if ($object->isInitialized('additionalOrganizations') && null !== $object->getAdditionalOrganizations()) { - $values_3 = []; - foreach ($object->getAdditionalOrganizations() as $value_3) { - $values_3[] = $value_3; - } - $data['additionalOrganizations'] = $values_3; - } - if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { - $values_4 = []; - foreach ($object->getWorkspaces() as $value_4) { - $values_4[] = $value_4; - } - $data['workspaces'] = $values_4; - } - if ($object->isInitialized('currentWorkspace') && null !== $object->getCurrentWorkspace()) { - $data['currentWorkspace'] = $object->getCurrentWorkspace(); - } - if ($object->isInitialized('currentOrganization') && null !== $object->getCurrentOrganization()) { - $data['currentOrganization'] = $object->getCurrentOrganization(); - } - if ($object->isInitialized('akeneoLinkedAccounts') && null !== $object->getAkeneoLinkedAccounts()) { - $values_5 = []; - foreach ($object->getAkeneoLinkedAccounts() as $value_5) { - $values_5[] = $value_5; - } - $data['akeneoLinkedAccounts'] = $values_5; - } - if ($object->isInitialized('workspace') && null !== $object->getWorkspace()) { - $values_6 = []; - foreach ($object->getWorkspace() as $value_6) { - $values_6[] = $value_6; - } - $data['workspace'] = $values_6; - } - foreach ($object as $key => $value_7) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_7; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserUserChangePasswordInputNormalizer.php b/src/Normalizer/UserUserChangePasswordInputNormalizer.php deleted file mode 100644 index 0ffa31eb..00000000 --- a/src/Normalizer/UserUserChangePasswordInputNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setCurrentPassword($data['currentPassword']); - unset($data['currentPassword']); - } elseif (\array_key_exists('currentPassword', $data) && $data['currentPassword'] === null) { - $object->setCurrentPassword(null); - } - if (\array_key_exists('newPassword', $data) && $data['newPassword'] !== null) { - $object->setNewPassword($data['newPassword']); - unset($data['newPassword']); - } elseif (\array_key_exists('newPassword', $data) && $data['newPassword'] === null) { - $object->setNewPassword(null); - } - if (\array_key_exists('confirmPassword', $data) && $data['confirmPassword'] !== null) { - $object->setConfirmPassword($data['confirmPassword']); - unset($data['confirmPassword']); - } elseif (\array_key_exists('confirmPassword', $data) && $data['confirmPassword'] === null) { - $object->setConfirmPassword(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('currentPassword') && null !== $object->getCurrentPassword()) { - $data['currentPassword'] = $object->getCurrentPassword(); - } - if ($object->isInitialized('newPassword') && null !== $object->getNewPassword()) { - $data['newPassword'] = $object->getNewPassword(); - } - if ($object->isInitialized('confirmPassword') && null !== $object->getConfirmPassword()) { - $data['confirmPassword'] = $object->getConfirmPassword(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/UserUserReadNormalizer.php b/src/Normalizer/UserUserReadNormalizer.php new file mode 100644 index 00000000..86c611e6 --- /dev/null +++ b/src/Normalizer/UserUserReadNormalizer.php @@ -0,0 +1,199 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + $object->setFirstName($data['firstName']); + unset($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); + } + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + $object->setLastName($data['lastName']); + unset($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); + } + if (\array_key_exists('username', $data) && null !== $data['username']) { + $object->setUsername($data['username']); + unset($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); + } + if (\array_key_exists('email', $data) && null !== $data['email']) { + $object->setEmail($data['email']); + unset($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); + } + if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { + $object->setEnabled($data['enabled']); + unset($data['enabled']); + } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + $object->setEnabled(null); + } + if (\array_key_exists('roles', $data) && null !== $data['roles']) { + $values = []; + foreach ($data['roles'] as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $object->setRoles($values); + unset($data['roles']); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values_2 = []; + foreach ($data['authorizations'] as $value_2) { + $values_2[] = $value_2; + } + $object->setAuthorizations($values_2); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('additionalOrganizations', $data) && null !== $data['additionalOrganizations']) { + $values_3 = []; + foreach ($data['additionalOrganizations'] as $value_3) { + $values_3[] = $value_3; + } + $object->setAdditionalOrganizations($values_3); + unset($data['additionalOrganizations']); + } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + $object->setAdditionalOrganizations(null); + } + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_4 = []; + foreach ($data['workspaces'] as $value_4) { + $values_4[] = $value_4; + } + $object->setWorkspaces($values_4); + unset($data['workspaces']); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); + } + foreach ($data as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_5; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['firstName'] = $object->getFirstName(); + $data['lastName'] = $object->getLastName(); + $data['username'] = $object->getUsername(); + if ($object->isInitialized('email') && null !== $object->getEmail()) { + $data['email'] = $object->getEmail(); + } + if ($object->isInitialized('enabled') && null !== $object->getEnabled()) { + $data['enabled'] = $object->getEnabled(); + } + if ($object->isInitialized('roles') && null !== $object->getRoles()) { + $values = []; + foreach ($object->getRoles() as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $data['roles'] = $values; + } + if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { + $values_2 = []; + foreach ($object->getAuthorizations() as $value_2) { + $values_2[] = $value_2; + } + $data['authorizations'] = $values_2; + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if ($object->isInitialized('additionalOrganizations') && null !== $object->getAdditionalOrganizations()) { + $values_3 = []; + foreach ($object->getAdditionalOrganizations() as $value_3) { + $values_3[] = $value_3; + } + $data['additionalOrganizations'] = $values_3; + } + if ($object->isInitialized('workspaces') && null !== $object->getWorkspaces()) { + $values_4 = []; + foreach ($object->getWorkspaces() as $value_4) { + $values_4[] = $value_4; + } + $data['workspaces'] = $values_4; + } + foreach ($object as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_5; + } + } + + return $data; + } +} diff --git a/src/Normalizer/UserUserWriteNormalizer.php b/src/Normalizer/UserUserWriteNormalizer.php new file mode 100644 index 00000000..f8d7a981 --- /dev/null +++ b/src/Normalizer/UserUserWriteNormalizer.php @@ -0,0 +1,142 @@ +setFirstName($data['firstName']); + unset($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); + } + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + $object->setLastName($data['lastName']); + unset($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); + } + if (\array_key_exists('username', $data) && null !== $data['username']) { + $object->setUsername($data['username']); + unset($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); + } + if (\array_key_exists('email', $data) && null !== $data['email']) { + $object->setEmail($data['email']); + unset($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); + } + if (\array_key_exists('password', $data) && null !== $data['password']) { + $object->setPassword($data['password']); + unset($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); + } + if (\array_key_exists('roles', $data) && null !== $data['roles']) { + $values = []; + foreach ($data['roles'] as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $object->setRoles($values); + unset($data['roles']); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['firstName'] = $object->getFirstName(); + $data['lastName'] = $object->getLastName(); + $data['username'] = $object->getUsername(); + if ($object->isInitialized('email') && null !== $object->getEmail()) { + $data['email'] = $object->getEmail(); + } + if ($object->isInitialized('password') && null !== $object->getPassword()) { + $data['password'] = $object->getPassword(); + } + if ($object->isInitialized('roles') && null !== $object->getRoles()) { + $values = []; + foreach ($object->getRoles() as $value) { + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; + } + $data['roles'] = $values; + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigurationInputEnvironmentUpdateNormalizer.php b/src/Normalizer/VariableFromConfigurationInputEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..66a8633a --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationInputEnvironmentUpdateNormalizer.php @@ -0,0 +1,87 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && null !== $data['from']) { + $object->setFrom($data['from']); + unset($data['from']); + } elseif (\array_key_exists('from', $data) && null === $data['from']) { + $object->setFrom(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('from') && null !== $object->getFrom()) { + $data['from'] = $object->getFrom(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php b/src/Normalizer/VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..ebc6a497 --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && null !== $data['from']) { + $object->setFrom($data['from']); + unset($data['from']); + } elseif (\array_key_exists('from', $data) && null === $data['from']) { + $object->setFrom(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('from') && null !== $object->getFrom()) { + $data['from'] = $object->getFrom(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php b/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php deleted file mode 100644 index 0b0de92f..00000000 --- a/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { - $object->setFrom(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('from') && null !== $object->getFrom()) { - $data['from'] = $object->getFrom(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConfigurationInputNormalizer.php b/src/Normalizer/VariableFromConfigurationInputNormalizer.php deleted file mode 100644 index 2b28028d..00000000 --- a/src/Normalizer/VariableFromConfigurationInputNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setName($data['name']); - unset($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']); - unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { - $object->setFrom(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('from') && null !== $object->getFrom()) { - $data['from'] = $object->getFrom(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php b/src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php deleted file mode 100644 index 19cc0021..00000000 --- a/src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php +++ /dev/null @@ -1,148 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $value = $data['configuration']; - if (is_array($data['configuration'])) { - $value = $this->denormalizer->denormalize($data['configuration'], 'Gyroscops\\Api\\Model\\ConfigurationJsonldRead', 'json', $context); - } - $object->setConfiguration($value); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - if (\array_key_exists('item', $data) && $data['item'] !== null) { - $object->setItem($data['item']); - unset($data['item']); - } elseif (\array_key_exists('item', $data) && $data['item'] === null) { - $object->setItem(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $value_1 = $data['environment']; - if (is_array($data['environment'])) { - $value_1 = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json', $context); - } - $object->setEnvironment($value_1); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('configuration') && null !== $object->getConfiguration()) { - $value = $object->getConfiguration(); - if (is_object($object->getConfiguration())) { - $value = $this->normalizer->normalize($object->getConfiguration(), 'json', $context); - } - $data['configuration'] = $value; - } - if ($object->isInitialized('item') && null !== $object->getItem()) { - $data['item'] = $object->getItem(); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value_1 = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value_1 = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value_1; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConfigurationJsonldVariableUpdateNormalizer.php b/src/Normalizer/VariableFromConfigurationJsonldVariableUpdateNormalizer.php new file mode 100644 index 00000000..9c58b350 --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationJsonldVariableUpdateNormalizer.php @@ -0,0 +1,123 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $object->setConfiguration($data['configuration']); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('item', $data) && null !== $data['item']) { + $object->setItem($data['item']); + unset($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('configuration') && null !== $object->getConfiguration()) { + $data['configuration'] = $object->getConfiguration(); + } + if ($object->isInitialized('item') && null !== $object->getItem()) { + $data['item'] = $object->getItem(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..45630202 --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,137 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $object->setConfiguration($data['configuration']); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('item', $data) && null !== $data['item']) { + $object->setItem($data['item']); + unset($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('configuration') && null !== $object->getConfiguration()) { + $data['configuration'] = $object->getConfiguration(); + } + if ($object->isInitialized('item') && null !== $object->getItem()) { + $data['item'] = $object->getItem(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigurationJsonldWriteNormalizer.php b/src/Normalizer/VariableFromConfigurationJsonldWriteNormalizer.php deleted file mode 100644 index f93e103d..00000000 --- a/src/Normalizer/VariableFromConfigurationJsonldWriteNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConfigurationReadNormalizer.php b/src/Normalizer/VariableFromConfigurationReadNormalizer.php deleted file mode 100644 index ce2e2d34..00000000 --- a/src/Normalizer/VariableFromConfigurationReadNormalizer.php +++ /dev/null @@ -1,130 +0,0 @@ -denormalizer->denormalize($data['configuration'], 'Gyroscops\\Api\\Model\\ConfigurationRead', 'json', $context); - } - $object->setConfiguration($value); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - if (\array_key_exists('item', $data) && $data['item'] !== null) { - $object->setItem($data['item']); - unset($data['item']); - } elseif (\array_key_exists('item', $data) && $data['item'] === null) { - $object->setItem(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $value_1 = $data['environment']; - if (is_array($data['environment'])) { - $value_1 = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json', $context); - } - $object->setEnvironment($value_1); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('configuration') && null !== $object->getConfiguration()) { - $value = $object->getConfiguration(); - if (is_object($object->getConfiguration())) { - $value = $this->normalizer->normalize($object->getConfiguration(), 'json', $context); - } - $data['configuration'] = $value; - } - if ($object->isInitialized('item') && null !== $object->getItem()) { - $data['item'] = $object->getItem(); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value_1 = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value_1 = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value_1; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConfigurationVariableUpdateNormalizer.php b/src/Normalizer/VariableFromConfigurationVariableUpdateNormalizer.php new file mode 100644 index 00000000..5c89942b --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationVariableUpdateNormalizer.php @@ -0,0 +1,105 @@ +setConfiguration($data['configuration']); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('item', $data) && null !== $data['item']) { + $object->setItem($data['item']); + unset($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('configuration') && null !== $object->getConfiguration()) { + $data['configuration'] = $object->getConfiguration(); + } + if ($object->isInitialized('item') && null !== $object->getItem()) { + $data['item'] = $object->getItem(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigurationVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableFromConfigurationVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..c4f8fc2d --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,119 @@ +setConfiguration($data['configuration']); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('item', $data) && null !== $data['item']) { + $object->setItem($data['item']); + unset($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('configuration') && null !== $object->getConfiguration()) { + $data['configuration'] = $object->getConfiguration(); + } + if ($object->isInitialized('item') && null !== $object->getItem()) { + $data['item'] = $object->getItem(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantInputEnvironmentUpdateNormalizer.php b/src/Normalizer/VariableFromConstantInputEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..54177adb --- /dev/null +++ b/src/Normalizer/VariableFromConstantInputEnvironmentUpdateNormalizer.php @@ -0,0 +1,87 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('value', $data) && null !== $data['value']) { + $object->setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && null === $data['value']) { + $object->setValue(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php b/src/Normalizer/VariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..733752e5 --- /dev/null +++ b/src/Normalizer/VariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('value', $data) && null !== $data['value']) { + $object->setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && null === $data['value']) { + $object->setValue(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantInputJsonldNormalizer.php b/src/Normalizer/VariableFromConstantInputJsonldNormalizer.php deleted file mode 100644 index 9ce932dc..00000000 --- a/src/Normalizer/VariableFromConstantInputJsonldNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['value']); - } elseif (\array_key_exists('value', $data) && $data['value'] === null) { - $object->setValue(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('value') && null !== $object->getValue()) { - $data['value'] = $object->getValue(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConstantInputNormalizer.php b/src/Normalizer/VariableFromConstantInputNormalizer.php deleted file mode 100644 index a0809328..00000000 --- a/src/Normalizer/VariableFromConstantInputNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setName($data['name']); - unset($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']); - unset($data['value']); - } elseif (\array_key_exists('value', $data) && $data['value'] === null) { - $object->setValue(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('value') && null !== $object->getValue()) { - $data['value'] = $object->getValue(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConstantJsonldReadNormalizer.php b/src/Normalizer/VariableFromConstantJsonldReadNormalizer.php deleted file mode 100644 index 24f71dba..00000000 --- a/src/Normalizer/VariableFromConstantJsonldReadNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('value', $data) && $data['value'] !== null) { - $object->setValue($data['value']); - unset($data['value']); - } elseif (\array_key_exists('value', $data) && $data['value'] === null) { - $object->setValue(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $value = $data['environment']; - if (is_array($data['environment'])) { - $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json', $context); - } - $object->setEnvironment($value); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('value') && null !== $object->getValue()) { - $data['value'] = $object->getValue(); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConstantJsonldVariableUpdateNormalizer.php b/src/Normalizer/VariableFromConstantJsonldVariableUpdateNormalizer.php new file mode 100644 index 00000000..fe25fcbf --- /dev/null +++ b/src/Normalizer/VariableFromConstantJsonldVariableUpdateNormalizer.php @@ -0,0 +1,114 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('value', $data) && null !== $data['value']) { + $object->setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && null === $data['value']) { + $object->setValue(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..075c7bc4 --- /dev/null +++ b/src/Normalizer/VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,128 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('value', $data) && null !== $data['value']) { + $object->setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && null === $data['value']) { + $object->setValue(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php b/src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php deleted file mode 100644 index a4a9def6..00000000 --- a/src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConstantReadNormalizer.php b/src/Normalizer/VariableFromConstantReadNormalizer.php deleted file mode 100644 index a95c48e0..00000000 --- a/src/Normalizer/VariableFromConstantReadNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setValue($data['value']); - unset($data['value']); - } elseif (\array_key_exists('value', $data) && $data['value'] === null) { - $object->setValue(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $value = $data['environment']; - if (is_array($data['environment'])) { - $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json', $context); - } - $object->setEnvironment($value); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('value') && null !== $object->getValue()) { - $data['value'] = $object->getValue(); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromConstantVariableUpdateNormalizer.php b/src/Normalizer/VariableFromConstantVariableUpdateNormalizer.php new file mode 100644 index 00000000..f2ee1f99 --- /dev/null +++ b/src/Normalizer/VariableFromConstantVariableUpdateNormalizer.php @@ -0,0 +1,96 @@ +setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && null === $data['value']) { + $object->setValue(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableFromConstantVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..903d03d7 --- /dev/null +++ b/src/Normalizer/VariableFromConstantVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,110 @@ +setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && null === $data['value']) { + $object->setValue(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretInputEnvironmentUpdateNormalizer.php b/src/Normalizer/VariableFromSecretInputEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..568bb4ac --- /dev/null +++ b/src/Normalizer/VariableFromSecretInputEnvironmentUpdateNormalizer.php @@ -0,0 +1,87 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && null !== $data['from']) { + $object->setFrom($data['from']); + unset($data['from']); + } elseif (\array_key_exists('from', $data) && null === $data['from']) { + $object->setFrom(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('from') && null !== $object->getFrom()) { + $data['from'] = $object->getFrom(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php b/src/Normalizer/VariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php new file mode 100644 index 00000000..cf543617 --- /dev/null +++ b/src/Normalizer/VariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && null !== $data['from']) { + $object->setFrom($data['from']); + unset($data['from']); + } elseif (\array_key_exists('from', $data) && null === $data['from']) { + $object->setFrom(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('from') && null !== $object->getFrom()) { + $data['from'] = $object->getFrom(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php b/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php deleted file mode 100644 index 570a0593..00000000 --- a/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { - $object->setFrom(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('from') && null !== $object->getFrom()) { - $data['from'] = $object->getFrom(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromSecretInputNormalizer.php b/src/Normalizer/VariableFromSecretInputNormalizer.php deleted file mode 100644 index ea173162..00000000 --- a/src/Normalizer/VariableFromSecretInputNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setName($data['name']); - unset($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']); - unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { - $object->setFrom(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - if ($object->isInitialized('from') && null !== $object->getFrom()) { - $data['from'] = $object->getFrom(); - } - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromSecretJsonldReadNormalizer.php b/src/Normalizer/VariableFromSecretJsonldReadNormalizer.php deleted file mode 100644 index efb3feea..00000000 --- a/src/Normalizer/VariableFromSecretJsonldReadNormalizer.php +++ /dev/null @@ -1,148 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { - $value = $data['secret']; - if (is_array($data['secret'])) { - $value = $this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretJsonldRead', 'json', $context); - } - $object->setSecret($value); - unset($data['secret']); - } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { - $object->setSecret(null); - } - if (\array_key_exists('item', $data) && $data['item'] !== null) { - $object->setItem($data['item']); - unset($data['item']); - } elseif (\array_key_exists('item', $data) && $data['item'] === null) { - $object->setItem(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $value_1 = $data['environment']; - if (is_array($data['environment'])) { - $value_1 = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json', $context); - } - $object->setEnvironment($value_1); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('secret') && null !== $object->getSecret()) { - $value = $object->getSecret(); - if (is_object($object->getSecret())) { - $value = $this->normalizer->normalize($object->getSecret(), 'json', $context); - } - $data['secret'] = $value; - } - if ($object->isInitialized('item') && null !== $object->getItem()) { - $data['item'] = $object->getItem(); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value_1 = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value_1 = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value_1; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromSecretJsonldVariableUpdateNormalizer.php b/src/Normalizer/VariableFromSecretJsonldVariableUpdateNormalizer.php new file mode 100644 index 00000000..0dfbf530 --- /dev/null +++ b/src/Normalizer/VariableFromSecretJsonldVariableUpdateNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $object->setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..afd9fb3f --- /dev/null +++ b/src/Normalizer/VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,137 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('secret', $data) && null !== $data['secret']) { + $object->setSecret($data['secret']); + unset($data['secret']); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); + } + if (\array_key_exists('item', $data) && null !== $data['item']) { + $object->setItem($data['item']); + unset($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('secret') && null !== $object->getSecret()) { + $data['secret'] = $object->getSecret(); + } + if ($object->isInitialized('item') && null !== $object->getItem()) { + $data['item'] = $object->getItem(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php b/src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php deleted file mode 100644 index 753d4f1b..00000000 --- a/src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromSecretReadNormalizer.php b/src/Normalizer/VariableFromSecretReadNormalizer.php deleted file mode 100644 index 897d1dbf..00000000 --- a/src/Normalizer/VariableFromSecretReadNormalizer.php +++ /dev/null @@ -1,130 +0,0 @@ -denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretRead', 'json', $context); - } - $object->setSecret($value); - unset($data['secret']); - } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { - $object->setSecret(null); - } - if (\array_key_exists('item', $data) && $data['item'] !== null) { - $object->setItem($data['item']); - unset($data['item']); - } elseif (\array_key_exists('item', $data) && $data['item'] === null) { - $object->setItem(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $value_1 = $data['environment']; - if (is_array($data['environment'])) { - $value_1 = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json', $context); - } - $object->setEnvironment($value_1); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('secret') && null !== $object->getSecret()) { - $value = $object->getSecret(); - if (is_object($object->getSecret())) { - $value = $this->normalizer->normalize($object->getSecret(), 'json', $context); - } - $data['secret'] = $value; - } - if ($object->isInitialized('item') && null !== $object->getItem()) { - $data['item'] = $object->getItem(); - } - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value_1 = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value_1 = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value_1; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableFromSecretVariableUpdateNormalizer.php b/src/Normalizer/VariableFromSecretVariableUpdateNormalizer.php new file mode 100644 index 00000000..8ce8fe72 --- /dev/null +++ b/src/Normalizer/VariableFromSecretVariableUpdateNormalizer.php @@ -0,0 +1,87 @@ +setEnvironment($data['environment']); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableFromSecretVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..475d4920 --- /dev/null +++ b/src/Normalizer/VariableFromSecretVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,119 @@ +setSecret($data['secret']); + unset($data['secret']); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); + } + if (\array_key_exists('item', $data) && null !== $data['item']) { + $object->setItem($data['item']); + unset($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('secret') && null !== $object->getSecret()) { + $data['secret'] = $object->getSecret(); + } + if ($object->isInitialized('item') && null !== $object->getItem()) { + $data['item'] = $object->getItem(); + } + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableJsonldReadNormalizer.php b/src/Normalizer/VariableJsonldReadNormalizer.php deleted file mode 100644 index a0defdef..00000000 --- a/src/Normalizer/VariableJsonldReadNormalizer.php +++ /dev/null @@ -1,116 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { - $value = $data['environment']; - if (is_array($data['environment'])) { - $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead', 'json', $context); - } - $object->setEnvironment($value); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableJsonldVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableJsonldVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..0b23ffe5 --- /dev/null +++ b/src/Normalizer/VariableJsonldVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,119 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentJsonldVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/VariableReadNormalizer.php b/src/Normalizer/VariableReadNormalizer.php deleted file mode 100644 index bd6fb01b..00000000 --- a/src/Normalizer/VariableReadNormalizer.php +++ /dev/null @@ -1,104 +0,0 @@ -denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentRead', 'json', $context); - } - $object->setEnvironment($value); - unset($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']); - unset($data['name']); - } elseif (\array_key_exists('name', $data) && $data['name'] === null) { - $object->setName(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { - $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { - $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); - } - $data['environment'] = $value; - } - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/VariableVariableViewEnvironmentViewNormalizer.php b/src/Normalizer/VariableVariableViewEnvironmentViewNormalizer.php new file mode 100644 index 00000000..cfb000b7 --- /dev/null +++ b/src/Normalizer/VariableVariableViewEnvironmentViewNormalizer.php @@ -0,0 +1,101 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('environment', $data) && null !== $data['environment']) { + $value = $data['environment']; + if (\is_array($data['environment'])) { + $value = $this->denormalizer->denormalize($data['environment'], 'Gyroscops\\Api\\Model\\EnvironmentVariableViewEnvironmentView', 'json', $context); + } + $object->setEnvironment($value); + unset($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); + } + $data['environment'] = $value; + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowCompileWorkflowCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowCompileWorkflowCommandInputJsonldNormalizer.php index df5b89c7..b7ec2263 100644 --- a/src/Normalizer/WorkflowCompileWorkflowCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowCompileWorkflowCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowCompileWorkflowCommandInputJsonldNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/WorkflowCompileWorkflowCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowCompileWorkflowCommandJsonldReadNormalizer.php deleted file mode 100644 index 8169b499..00000000 --- a/src/Normalizer/WorkflowCompileWorkflowCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer.php b/src/Normalizer/WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer.php new file mode 100644 index 00000000..a904fdc1 --- /dev/null +++ b/src/Normalizer/WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowDeclareWorkflowCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowCommandInputJsonldNormalizer.php index 2b5cc281..aa30f3e9 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowCommandInputJsonldNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,50 +43,50 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\JobJsonld', 'json', $context); } $object->setJobs($values); unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { $object->setJobs(null); } - if (\array_key_exists('composer', $data) && $data['composer'] !== null) { + if (\array_key_exists('composer', $data) && null !== $data['composer']) { $object->setComposer($this->denormalizer->denormalize($data['composer'], 'Gyroscops\\Api\\Model\\ComposerJsonld', 'json', $context)); unset($data['composer']); - } elseif (\array_key_exists('composer', $data) && $data['composer'] === null) { + } elseif (\array_key_exists('composer', $data) && null === $data['composer']) { $object->setComposer(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/WorkflowDeclareWorkflowCommandInputNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowCommandInputNormalizer.php index 47f94744..ab62b200 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowCommandInputNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,32 +43,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\Job', 'json', $context); } $object->setJobs($values); unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { $object->setJobs(null); } - if (\array_key_exists('composer', $data) && $data['composer'] !== null) { + if (\array_key_exists('composer', $data) && null !== $data['composer']) { $object->setComposer($this->denormalizer->denormalize($data['composer'], 'Gyroscops\\Api\\Model\\Composer', 'json', $context)); unset($data['composer']); - } elseif (\array_key_exists('composer', $data) && $data['composer'] === null) { + } elseif (\array_key_exists('composer', $data) && null === $data['composer']) { $object->setComposer(null); } - if (\array_key_exists('code', $data) && $data['code'] !== null) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(null); } - if (\array_key_exists('label', $data) && $data['label'] !== null) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + } elseif (\array_key_exists('label', $data) && null === $data['label']) { $object->setLabel(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldReadNormalizer.php deleted file mode 100644 index 1c4ff2bb..00000000 --- a/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer.php new file mode 100644 index 00000000..cb0f643b --- /dev/null +++ b/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonldNormalizer.php index 882e127a..3b218a89 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonldNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,34 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('crontab', $data) && $data['crontab'] !== null) { + if (\array_key_exists('crontab', $data) && null !== $data['crontab']) { $object->setCrontab($data['crontab']); unset($data['crontab']); - } elseif (\array_key_exists('crontab', $data) && $data['crontab'] === null) { + } elseif (\array_key_exists('crontab', $data) && null === $data['crontab']) { $object->setCrontab(null); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputNormalizer.php index d4649947..9e7fcbfe 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowScheduleCrontabCommandInputNormalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,16 +43,16 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('crontab', $data) && $data['crontab'] !== null) { + if (\array_key_exists('crontab', $data) && null !== $data['crontab']) { $object->setCrontab($data['crontab']); unset($data['crontab']); - } elseif (\array_key_exists('crontab', $data) && $data['crontab'] === null) { + } elseif (\array_key_exists('crontab', $data) && null === $data['crontab']) { $object->setCrontab(null); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer.php deleted file mode 100644 index ca57a960..00000000 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer.php new file mode 100644 index 00000000..c2892584 --- /dev/null +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonldNormalizer.php index 96e497f7..c1379dc0 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonldNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,28 +43,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) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputNormalizer.php index e5823de3..4f91acfd 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowScheduleImmediateCommandInputNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,10 +43,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer.php deleted file mode 100644 index 79381418..00000000 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer.php new file mode 100644 index 00000000..460a973e --- /dev/null +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobActionActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionActionReadNormalizer.php new file mode 100644 index 00000000..534b76d6 --- /dev/null +++ b/src/Normalizer/WorkflowJobActionActionReadNormalizer.php @@ -0,0 +1,111 @@ +setJob($data['job']); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; + foreach ($data['configuration'] as $value) { + $values[] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['job'] = $object->getJob(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value) { + $values[] = $value; + } + $data['configuration'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobActionJobReadNormalizer.php b/src/Normalizer/WorkflowJobActionJobReadNormalizer.php new file mode 100644 index 00000000..3228583f --- /dev/null +++ b/src/Normalizer/WorkflowJobActionJobReadNormalizer.php @@ -0,0 +1,119 @@ +denormalizer->denormalize($data['job'], 'Gyroscops\\Api\\Model\\WorkflowJobJobRead', 'json', $context); + } + $object->setJob($value); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; + foreach ($data['configuration'] as $value_1) { + $values[] = $value_1; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $value = $object->getJob(); + if (\is_object($object->getJob())) { + $value = $this->normalizer->normalize($object->getJob(), 'json', $context); + } + $data['job'] = $value; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value_1) { + $values[] = $value_1; + } + $data['configuration'] = $values; + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobActionJsonldActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldActionReadNormalizer.php new file mode 100644 index 00000000..db5d5b1e --- /dev/null +++ b/src/Normalizer/WorkflowJobActionJsonldActionReadNormalizer.php @@ -0,0 +1,129 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('job', $data) && null !== $data['job']) { + $object->setJob($data['job']); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; + foreach ($data['configuration'] as $value) { + $values[] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['job'] = $object->getJob(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value) { + $values[] = $value; + } + $data['configuration'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobActionJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldJobReadNormalizer.php new file mode 100644 index 00000000..bcfdf68d --- /dev/null +++ b/src/Normalizer/WorkflowJobActionJsonldJobReadNormalizer.php @@ -0,0 +1,137 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('job', $data) && null !== $data['job']) { + $value = $data['job']; + if (\is_array($data['job']) && isset($data['job']['workflow']) && isset($data['job']['code']) && isset($data['job']['order'])) { + $value = $this->denormalizer->denormalize($data['job'], 'Gyroscops\\Api\\Model\\WorkflowJobJsonldJobRead', 'json', $context); + } + $object->setJob($value); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($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']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; + foreach ($data['configuration'] as $value_1) { + $values[] = $value_1; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $value = $object->getJob(); + if (\is_object($object->getJob())) { + $value = $this->normalizer->normalize($object->getJob(), 'json', $context); + } + $data['job'] = $value; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value_1) { + $values[] = $value_1; + } + $data['configuration'] = $values; + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php deleted file mode 100644 index acd74e10..00000000 --- a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php +++ /dev/null @@ -1,138 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('job', $data) && $data['job'] !== null) { - $object->setJob($data['job']); - unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { - $object->setJob(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId2($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['job'] = $object->getJob(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php deleted file mode 100644 index 057b57f0..00000000 --- a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php +++ /dev/null @@ -1,131 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobActionNormalizer.php b/src/Normalizer/WorkflowJobActionNormalizer.php deleted file mode 100644 index 9a72a47a..00000000 --- a/src/Normalizer/WorkflowJobActionNormalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -setJob($data['job']); - unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { - $object->setJob(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['job'] = $object->getJob(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionReadNormalizer.php deleted file mode 100644 index 9cba712f..00000000 --- a/src/Normalizer/WorkflowJobActionReadNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { - $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; - } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); - } - foreach ($data as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..f2ef4083 --- /dev/null +++ b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -0,0 +1,131 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer.php new file mode 100644 index 00000000..7da31315 --- /dev/null +++ b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer.php @@ -0,0 +1,113 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php new file mode 100644 index 00000000..9350e723 --- /dev/null +++ b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..806c3a28 --- /dev/null +++ b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -0,0 +1,131 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer.php new file mode 100644 index 00000000..ca9dadda --- /dev/null +++ b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer.php @@ -0,0 +1,113 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php new file mode 100644 index 00000000..ef013553 --- /dev/null +++ b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..9415ed96 --- /dev/null +++ b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -0,0 +1,131 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer.php new file mode 100644 index 00000000..43837b6f --- /dev/null +++ b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer.php @@ -0,0 +1,113 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer.php new file mode 100644 index 00000000..be89026b --- /dev/null +++ b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobJobReadNormalizer.php b/src/Normalizer/WorkflowJobJobReadNormalizer.php new file mode 100644 index 00000000..fdaf764e --- /dev/null +++ b/src/Normalizer/WorkflowJobJobReadNormalizer.php @@ -0,0 +1,124 @@ +setWorkflow($data['workflow']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('order', $data) && null !== $data['order']) { + $object->setOrder($data['order']); + unset($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $value = $data['pipeline']; + if (\is_array($data['pipeline']) && isset($data['pipeline']['job']) && isset($data['pipeline']['code']) && isset($data['pipeline']['label'])) { + $value = $this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJobRead', 'json', $context); + } + $object->setPipeline($value); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('action', $data) && null !== $data['action']) { + $value_1 = $data['action']; + if (\is_array($data['action']) && isset($data['action']['job']) && isset($data['action']['code']) && isset($data['action']['label']) && isset($data['action']['configuration'])) { + $value_1 = $this->denormalizer->denormalize($data['action'], 'Gyroscops\\Api\\Model\\WorkflowJobActionJobRead', 'json', $context); + } + $object->setAction($value_1); + unset($data['action']); + } elseif (\array_key_exists('action', $data) && null === $data['action']) { + $object->setAction(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['workflow'] = $object->getWorkflow(); + $data['code'] = $object->getCode(); + $data['order'] = $object->getOrder(); + if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { + $value = $object->getPipeline(); + if (\is_object($object->getPipeline())) { + $value = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + } + $data['pipeline'] = $value; + } + if ($object->isInitialized('action') && null !== $object->getAction()) { + $value_1 = $object->getAction(); + if (\is_object($object->getAction())) { + $value_1 = $this->normalizer->normalize($object->getAction(), 'json', $context); + } + $data['action'] = $value_1; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobJsonldJobReadNormalizer.php new file mode 100644 index 00000000..3ee6e0cb --- /dev/null +++ b/src/Normalizer/WorkflowJobJsonldJobReadNormalizer.php @@ -0,0 +1,142 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + $object->setWorkflow($data['workflow']); + unset($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + $object->setWorkflow(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('order', $data) && null !== $data['order']) { + $object->setOrder($data['order']); + unset($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); + } + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + $value = $data['pipeline']; + if (\is_array($data['pipeline']) && isset($data['pipeline']['job']) && isset($data['pipeline']['code']) && isset($data['pipeline']['label'])) { + $value = $this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldJobRead', 'json', $context); + } + $object->setPipeline($value); + unset($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); + } + if (\array_key_exists('action', $data) && null !== $data['action']) { + $value_1 = $data['action']; + if (\is_array($data['action']) && isset($data['action']['job']) && isset($data['action']['code']) && isset($data['action']['label']) && isset($data['action']['configuration'])) { + $value_1 = $this->denormalizer->denormalize($data['action'], 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldJobRead', 'json', $context); + } + $object->setAction($value_1); + unset($data['action']); + } elseif (\array_key_exists('action', $data) && null === $data['action']) { + $object->setAction(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['workflow'] = $object->getWorkflow(); + $data['code'] = $object->getCode(); + $data['order'] = $object->getOrder(); + if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { + $value = $object->getPipeline(); + if (\is_object($object->getPipeline())) { + $value = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + } + $data['pipeline'] = $value; + } + if ($object->isInitialized('action') && null !== $object->getAction()) { + $value_1 = $object->getAction(); + if (\is_object($object->getAction())) { + $value_1 = $this->normalizer->normalize($object->getAction(), 'json', $context); + } + $data['action'] = $value_1; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php deleted file mode 100644 index 53b6c221..00000000 --- a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php +++ /dev/null @@ -1,151 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $value = $data['workflow']; - if (is_array($data['workflow']) and isset($data['workflow']['id']) and isset($data['workflow']['code']) and isset($data['workflow']['label']) and isset($data['workflow']['repositories']) and isset($data['workflow']['auths'])) { - $value = $this->denormalizer->denormalize($data['workflow'], 'Gyroscops\\Api\\Model\\WorkflowJsonldRead', 'json', $context); - } - $object->setWorkflow($value); - unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { - $object->setWorkflow(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $value_1 = $data['pipeline']; - if (is_array($data['pipeline']) and isset($data['pipeline']['id']) and isset($data['pipeline']['code']) and isset($data['pipeline']['label'])) { - $value_1 = $this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead', 'json', $context); - } - $object->setPipeline($value_1); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('action', $data) && $data['action'] !== null) { - $value_2 = $data['action']; - if (is_array($data['action']) and isset($data['action']['code']) and isset($data['action']['label']) and isset($data['action']['configuration'])) { - $value_2 = $this->denormalizer->denormalize($data['action'], 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead', 'json', $context); - } - $object->setAction($value_2); - unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { - $object->setAction(null); - } - foreach ($data as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_3; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $value = $object->getWorkflow(); - if (is_object($object->getWorkflow())) { - $value = $this->normalizer->normalize($object->getWorkflow(), 'json', $context); - } - $data['workflow'] = $value; - if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { - $value_1 = $object->getPipeline(); - if (is_object($object->getPipeline())) { - $value_1 = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - } - $data['pipeline'] = $value_1; - } - if ($object->isInitialized('action') && null !== $object->getAction()) { - $value_2 = $object->getAction(); - if (is_object($object->getAction())) { - $value_2 = $this->normalizer->normalize($object->getAction(), 'json', $context); - } - $data['action'] = $value_2; - } - foreach ($object as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_3; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..4791cca4 --- /dev/null +++ b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -0,0 +1,101 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('after', $data) && null !== $data['after']) { + $object->setAfter($data['after']); + unset($data['after']); + } elseif (\array_key_exists('after', $data) && null === $data['after']) { + $object->setAfter(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['after'] = $object->getAfter(); + $data['code'] = $object->getCode(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer.php new file mode 100644 index 00000000..21c86d95 --- /dev/null +++ b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer.php @@ -0,0 +1,83 @@ +setAfter($data['after']); + unset($data['after']); + } elseif (\array_key_exists('after', $data) && null === $data['after']) { + $object->setAfter(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['after'] = $object->getAfter(); + $data['code'] = $object->getCode(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php new file mode 100644 index 00000000..74ccbf7a --- /dev/null +++ b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..68e219d1 --- /dev/null +++ b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -0,0 +1,101 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('before', $data) && null !== $data['before']) { + $object->setBefore($data['before']); + unset($data['before']); + } elseif (\array_key_exists('before', $data) && null === $data['before']) { + $object->setBefore(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['before'] = $object->getBefore(); + $data['code'] = $object->getCode(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer.php new file mode 100644 index 00000000..d8240677 --- /dev/null +++ b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer.php @@ -0,0 +1,83 @@ +setBefore($data['before']); + unset($data['before']); + } elseif (\array_key_exists('before', $data) && null === $data['before']) { + $object->setBefore(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['before'] = $object->getBefore(); + $data['code'] = $object->getCode(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php new file mode 100644 index 00000000..91cb4cb7 --- /dev/null +++ b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobPipelineJobReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJobReadNormalizer.php new file mode 100644 index 00000000..8e63de22 --- /dev/null +++ b/src/Normalizer/WorkflowJobPipelineJobReadNormalizer.php @@ -0,0 +1,115 @@ +denormalizer->denormalize($data['job'], 'Gyroscops\\Api\\Model\\WorkflowJobJobRead', 'json', $context); + } + $object->setJob($value); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value_1) { + $values[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PipelineStepJobRead', 'json', $context); + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $value = $object->getJob(); + if (\is_object($object->getJob())) { + $value = $this->normalizer->normalize($object->getJob(), 'json', $context); + } + $data['job'] = $value; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value_1) { + $values[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldJobReadNormalizer.php new file mode 100644 index 00000000..cf5a9608 --- /dev/null +++ b/src/Normalizer/WorkflowJobPipelineJsonldJobReadNormalizer.php @@ -0,0 +1,133 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('job', $data) && null !== $data['job']) { + $value = $data['job']; + if (\is_array($data['job']) && isset($data['job']['workflow']) && isset($data['job']['code']) && isset($data['job']['order'])) { + $value = $this->denormalizer->denormalize($data['job'], 'Gyroscops\\Api\\Model\\WorkflowJobJsonldJobRead', 'json', $context); + } + $object->setJob($value); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value_1) { + $values[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PipelineStepJsonldJobRead', 'json', $context); + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $value = $object->getJob(); + if (\is_object($object->getJob())) { + $value = $this->normalizer->normalize($object->getJob(), 'json', $context); + } + $data['job'] = $value; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value_1) { + $values[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php deleted file mode 100644 index c0537a87..00000000 --- a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php +++ /dev/null @@ -1,158 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { - $object->setJob(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId2($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { - $values = []; - foreach ($data['runtime'] as $value) { - $values[] = $value; - } - $object->setRuntime($values); - unset($data['runtime']); - } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { - $object->setRuntime(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values_1 = []; - foreach ($data['steps'] as $value_1) { - $values_1[] = $value_1; - } - $object->setSteps($values_1); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['job'] = $object->getJob(); - $data['id'] = $object->getId2(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('runtime') && null !== $object->getRuntime()) { - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; - } - $data['runtime'] = $values; - } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_1 = []; - foreach ($object->getSteps() as $value_1) { - $values_1[] = $value_1; - } - $data['steps'] = $values_1; - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldPipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldPipelineReadNormalizer.php new file mode 100644 index 00000000..ba3cd8e3 --- /dev/null +++ b/src/Normalizer/WorkflowJobPipelineJsonldPipelineReadNormalizer.php @@ -0,0 +1,125 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('job', $data) && null !== $data['job']) { + $object->setJob($data['job']); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value) { + $values[] = $value; + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['job'] = $object->getJob(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $value; + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php deleted file mode 100644 index 1c3486f0..00000000 --- a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php +++ /dev/null @@ -1,151 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { - $values = []; - foreach ($data['runtime'] as $value) { - $values[] = $value; - } - $object->setRuntime($values); - unset($data['runtime']); - } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { - $object->setRuntime(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values_1 = []; - foreach ($data['steps'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PipelineStepJsonldRead', 'json', $context); - } - $object->setSteps($values_1); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId2(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('runtime') && null !== $object->getRuntime()) { - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; - } - $data['runtime'] = $values; - } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_1 = []; - foreach ($object->getSteps() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['steps'] = $values_1; - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobPipelineNormalizer.php b/src/Normalizer/WorkflowJobPipelineNormalizer.php deleted file mode 100644 index 7f5c0486..00000000 --- a/src/Normalizer/WorkflowJobPipelineNormalizer.php +++ /dev/null @@ -1,140 +0,0 @@ -setJob($data['job']); - unset($data['job']); - } elseif (\array_key_exists('job', $data) && $data['job'] === null) { - $object->setJob(null); - } - if (\array_key_exists('id', $data) && $data['id'] !== null) { - $object->setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { - $values = []; - foreach ($data['runtime'] as $value) { - $values[] = $value; - } - $object->setRuntime($values); - unset($data['runtime']); - } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { - $object->setRuntime(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values_1 = []; - foreach ($data['steps'] as $value_1) { - $values_1[] = $value_1; - } - $object->setSteps($values_1); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['job'] = $object->getJob(); - $data['id'] = $object->getId(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('runtime') && null !== $object->getRuntime()) { - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; - } - $data['runtime'] = $values; - } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_1 = []; - foreach ($object->getSteps() as $value_1) { - $values_1[] = $value_1; - } - $data['steps'] = $values_1; - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobPipelinePipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelinePipelineReadNormalizer.php new file mode 100644 index 00000000..1a573abf --- /dev/null +++ b/src/Normalizer/WorkflowJobPipelinePipelineReadNormalizer.php @@ -0,0 +1,107 @@ +setJob($data['job']); + unset($data['job']); + } elseif (\array_key_exists('job', $data) && null === $data['job']) { + $object->setJob(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; + foreach ($data['steps'] as $value) { + $values[] = $value; + } + $object->setSteps($values); + unset($data['steps']); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['job'] = $object->getJob(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $value; + } + $data['steps'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php deleted file mode 100644 index 60aced82..00000000 --- a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php +++ /dev/null @@ -1,133 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { - $values = []; - foreach ($data['runtime'] as $value) { - $values[] = $value; - } - $object->setRuntime($values); - unset($data['runtime']); - } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { - $object->setRuntime(null); - } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { - $values_1 = []; - foreach ($data['steps'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PipelineStepRead', 'json', $context); - } - $object->setSteps($values_1); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); - } - foreach ($data as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId(); - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('runtime') && null !== $object->getRuntime()) { - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; - } - $data['runtime'] = $values; - } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_1 = []; - foreach ($object->getSteps() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); - } - $data['steps'] = $values_1; - } - foreach ($object as $key => $value_2) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobReadNormalizer.php b/src/Normalizer/WorkflowJobReadNormalizer.php deleted file mode 100644 index 7f912fe4..00000000 --- a/src/Normalizer/WorkflowJobReadNormalizer.php +++ /dev/null @@ -1,133 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $value = $data['workflow']; - if (is_array($data['workflow']) and isset($data['workflow']['id']) and isset($data['workflow']['code']) and isset($data['workflow']['label']) and isset($data['workflow']['repositories']) and isset($data['workflow']['auths'])) { - $value = $this->denormalizer->denormalize($data['workflow'], 'Gyroscops\\Api\\Model\\WorkflowRead', 'json', $context); - } - $object->setWorkflow($value); - unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { - $object->setWorkflow(null); - } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { - $value_1 = $data['pipeline']; - if (is_array($data['pipeline']) and isset($data['pipeline']['id']) and isset($data['pipeline']['code']) and isset($data['pipeline']['label'])) { - $value_1 = $this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead', 'json', $context); - } - $object->setPipeline($value_1); - unset($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { - $object->setPipeline(null); - } - if (\array_key_exists('action', $data) && $data['action'] !== null) { - $value_2 = $data['action']; - if (is_array($data['action']) and isset($data['action']['code']) and isset($data['action']['label']) and isset($data['action']['configuration'])) { - $value_2 = $this->denormalizer->denormalize($data['action'], 'Gyroscops\\Api\\Model\\WorkflowJobActionRead', 'json', $context); - } - $object->setAction($value_2); - unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { - $object->setAction(null); - } - foreach ($data as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_3; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $value = $object->getWorkflow(); - if (is_object($object->getWorkflow())) { - $value = $this->normalizer->normalize($object->getWorkflow(), 'json', $context); - } - $data['workflow'] = $value; - if ($object->isInitialized('pipeline') && null !== $object->getPipeline()) { - $value_1 = $object->getPipeline(); - if (is_object($object->getPipeline())) { - $value_1 = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - } - $data['pipeline'] = $value_1; - } - if ($object->isInitialized('action') && null !== $object->getAction()) { - $value_2 = $object->getAction(); - if (is_object($object->getAction())) { - $value_2 = $this->normalizer->normalize($object->getAction(), 'json', $context); - } - $data['action'] = $value_2; - } - foreach ($object as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_3; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..25e7fb5f --- /dev/null +++ b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer.php @@ -0,0 +1,102 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('codes', $data) && null !== $data['codes']) { + $values = []; + foreach ($data['codes'] as $value) { + $values[] = $value; + } + $object->setCodes($values); + unset($data['codes']); + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + $object->setCodes(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getCodes() as $value) { + $values[] = $value; + } + $data['codes'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer.php b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer.php new file mode 100644 index 00000000..05a99db1 --- /dev/null +++ b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer.php @@ -0,0 +1,84 @@ +setCodes($values); + unset($data['codes']); + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + $object->setCodes(null); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getCodes() as $value) { + $values[] = $value; + } + $data['codes'] = $values; + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobReadNormalizer.php new file mode 100644 index 00000000..7e5a80a9 --- /dev/null +++ b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..fb7123af --- /dev/null +++ b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -0,0 +1,131 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer.php new file mode 100644 index 00000000..5af755e8 --- /dev/null +++ b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer.php @@ -0,0 +1,113 @@ +setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['configuration'] as $key => $value) { + $values[$key] = $value; + } + $object->setConfiguration($values); + unset($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); + } + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; + foreach ($data['probes'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + } + $object->setProbes($values_1); + unset($data['probes']); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); + } + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values[$key] = $value; + } + $data['configuration'] = $values; + $values_1 = []; + foreach ($object->getProbes() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['probes'] = $values_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobReadNormalizer.php b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobReadNormalizer.php new file mode 100644 index 00000000..46c4a947 --- /dev/null +++ b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowJsonldReadNormalizer.php b/src/Normalizer/WorkflowJsonldReadNormalizer.php deleted file mode 100644 index f1fa10c0..00000000 --- a/src/Normalizer/WorkflowJsonldReadNormalizer.php +++ /dev/null @@ -1,218 +0,0 @@ -setId($data['@id']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { - $object->setContext($data['@context']); - unset($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']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(null); - } - if (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] !== null) { - $object->setIsSoftDeleted($data['isSoftDeleted']); - unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { - $object->setIsSoftDeleted(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { - $values = []; - foreach ($data['autoload'] as $value) { - $values[] = $value; - } - $object->setAutoload($values); - unset($data['autoload']); - } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { - $object->setAutoload(null); - } - if (\array_key_exists('packages', $data) && $data['packages'] !== null) { - $values_1 = []; - foreach ($data['packages'] as $value_1) { - $values_1[] = $value_1; - } - $object->setPackages($values_1); - unset($data['packages']); - } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { - $object->setPackages(null); - } - if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { - $values_2 = []; - foreach ($data['repositories'] as $value_2) { - $values_2[] = $value_2; - } - $object->setRepositories($values_2); - unset($data['repositories']); - } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { - $object->setRepositories(null); - } - if (\array_key_exists('auths', $data) && $data['auths'] !== null) { - $values_3 = []; - foreach ($data['auths'] as $value_3) { - $values_3[] = $value_3; - } - $object->setAuths($values_3); - unset($data['auths']); - } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { - $object->setAuths(null); - } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { - $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - unset($data['compiledAt']); - } elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { - $object->setCompiledAt(null); - } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { - $object->setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { - $values_4 = []; - foreach ($data['jobs'] as $value_4) { - $values_4[] = $this->denormalizer->denormalize($value_4, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); - } - $object->setJobs($values_4); - unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { - $object->setJobs(null); - } - foreach ($data as $key => $value_5) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_5; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId2(); - if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { - $data['isSoftDeleted'] = $object->getIsSoftDeleted(); - } - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('packages') && null !== $object->getPackages()) { - $values = []; - foreach ($object->getPackages() as $value) { - $values[] = $value; - } - $data['packages'] = $values; - } - $values_1 = []; - foreach ($object->getRepositories() as $value_1) { - $values_1[] = $value_1; - } - $data['repositories'] = $values_1; - $values_2 = []; - foreach ($object->getAuths() as $value_2) { - $values_2[] = $value_2; - } - $data['auths'] = $values_2; - if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { - $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - if ($object->isInitialized('jobs') && null !== $object->getJobs()) { - $values_3 = []; - foreach ($object->getJobs() as $value_3) { - $values_3[] = $this->normalizer->normalize($value_3, 'json', $context); - } - $data['jobs'] = $values_3; - } - foreach ($object as $key => $value_4) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_4; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowJsonldWorkflowReadNormalizer.php b/src/Normalizer/WorkflowJsonldWorkflowReadNormalizer.php new file mode 100644 index 00000000..f9b926e0 --- /dev/null +++ b/src/Normalizer/WorkflowJsonldWorkflowReadNormalizer.php @@ -0,0 +1,247 @@ +setId($data['@id']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + unset($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']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { + $object->setIsSoftDeleted($data['isSoftDeleted']); + unset($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values = []; + foreach ($data['autoload'] as $value) { + $values[] = $value; + } + $object->setAutoload($values); + unset($data['autoload']); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); + } + if (\array_key_exists('packages', $data) && null !== $data['packages']) { + $values_1 = []; + foreach ($data['packages'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPackages($values_1); + unset($data['packages']); + } elseif (\array_key_exists('packages', $data) && null === $data['packages']) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && null !== $data['repositories']) { + $values_2 = []; + foreach ($data['repositories'] as $value_2) { + $values_2[] = $value_2; + } + $object->setRepositories($values_2); + unset($data['repositories']); + } elseif (\array_key_exists('repositories', $data) && null === $data['repositories']) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && null !== $data['auths']) { + $values_3 = []; + foreach ($data['auths'] as $value_3) { + $values_3[] = $value_3; + } + $object->setAuths($values_3); + unset($data['auths']); + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { + $object->setAuths(null); + } + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { + $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); + unset($data['compiledAt']); + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { + $object->setCompiledAt(null); + } + if (\array_key_exists('owner', $data) && null !== $data['owner']) { + $object->setOwner($data['owner']); + unset($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values_4 = []; + foreach ($data['jobs'] as $value_4) { + $values_4[] = $value_4; + } + $object->setJobs($values_4); + unset($data['jobs']); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); + } + if (\array_key_exists('templatePictograms', $data) && null !== $data['templatePictograms']) { + $values_5 = []; + foreach ($data['templatePictograms'] as $value_5) { + $values_5[] = $value_5; + } + $object->setTemplatePictograms($values_5); + unset($data['templatePictograms']); + } elseif (\array_key_exists('templatePictograms', $data) && null === $data['templatePictograms']) { + $object->setTemplatePictograms(null); + } + foreach ($data as $key => $value_6) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_6; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId2(); + if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { + $data['isSoftDeleted'] = $object->getIsSoftDeleted(); + } + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('packages') && null !== $object->getPackages()) { + $values = []; + foreach ($object->getPackages() as $value) { + $values[] = $value; + } + $data['packages'] = $values; + } + $values_1 = []; + foreach ($object->getRepositories() as $value_1) { + $values_1[] = $value_1; + } + $data['repositories'] = $values_1; + $values_2 = []; + foreach ($object->getAuths() as $value_2) { + $values_2[] = $value_2; + } + $data['auths'] = $values_2; + if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { + $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); + } + $data['owner'] = $object->getOwner(); + $data['workspace'] = $object->getWorkspace(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('jobs') && null !== $object->getJobs()) { + $values_3 = []; + foreach ($object->getJobs() as $value_3) { + $values_3[] = $value_3; + } + $data['jobs'] = $values_3; + } + if ($object->isInitialized('templatePictograms') && null !== $object->getTemplatePictograms()) { + $values_4 = []; + foreach ($object->getTemplatePictograms() as $value_4) { + $values_4[] = $value_4; + } + $data['templatePictograms'] = $values_4; + } + foreach ($object as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_5; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowReadNormalizer.php b/src/Normalizer/WorkflowReadNormalizer.php deleted file mode 100644 index 4cc8a565..00000000 --- a/src/Normalizer/WorkflowReadNormalizer.php +++ /dev/null @@ -1,200 +0,0 @@ -setId($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId(null); - } - if (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] !== null) { - $object->setIsSoftDeleted($data['isSoftDeleted']); - unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { - $object->setIsSoftDeleted(null); - } - if (\array_key_exists('code', $data) && $data['code'] !== null) { - $object->setCode($data['code']); - unset($data['code']); - } elseif (\array_key_exists('code', $data) && $data['code'] === null) { - $object->setCode(null); - } - if (\array_key_exists('label', $data) && $data['label'] !== null) { - $object->setLabel($data['label']); - unset($data['label']); - } elseif (\array_key_exists('label', $data) && $data['label'] === null) { - $object->setLabel(null); - } - if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { - $values = []; - foreach ($data['autoload'] as $value) { - $values[] = $value; - } - $object->setAutoload($values); - unset($data['autoload']); - } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { - $object->setAutoload(null); - } - if (\array_key_exists('packages', $data) && $data['packages'] !== null) { - $values_1 = []; - foreach ($data['packages'] as $value_1) { - $values_1[] = $value_1; - } - $object->setPackages($values_1); - unset($data['packages']); - } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { - $object->setPackages(null); - } - if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { - $values_2 = []; - foreach ($data['repositories'] as $value_2) { - $values_2[] = $value_2; - } - $object->setRepositories($values_2); - unset($data['repositories']); - } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { - $object->setRepositories(null); - } - if (\array_key_exists('auths', $data) && $data['auths'] !== null) { - $values_3 = []; - foreach ($data['auths'] as $value_3) { - $values_3[] = $value_3; - } - $object->setAuths($values_3); - unset($data['auths']); - } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { - $object->setAuths(null); - } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { - $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - unset($data['compiledAt']); - } elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { - $object->setCompiledAt(null); - } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { - $object->setCurrentVersion($data['currentVersion']); - unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { - $object->setCurrentVersion(null); - } - if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { - $values_4 = []; - foreach ($data['jobs'] as $value_4) { - $values_4[] = $this->denormalizer->denormalize($value_4, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json', $context); - } - $object->setJobs($values_4); - unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { - $object->setJobs(null); - } - foreach ($data as $key => $value_5) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_5; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['id'] = $object->getId(); - if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { - $data['isSoftDeleted'] = $object->getIsSoftDeleted(); - } - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); - if ($object->isInitialized('packages') && null !== $object->getPackages()) { - $values = []; - foreach ($object->getPackages() as $value) { - $values[] = $value; - } - $data['packages'] = $values; - } - $values_1 = []; - foreach ($object->getRepositories() as $value_1) { - $values_1[] = $value_1; - } - $data['repositories'] = $values_1; - $values_2 = []; - foreach ($object->getAuths() as $value_2) { - $values_2[] = $value_2; - } - $data['auths'] = $values_2; - if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { - $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); - } - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } - if ($object->isInitialized('jobs') && null !== $object->getJobs()) { - $values_3 = []; - foreach ($object->getJobs() as $value_3) { - $values_3[] = $this->normalizer->normalize($value_3, 'json', $context); - } - $data['jobs'] = $values_3; - } - foreach ($object as $key => $value_4) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_4; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowRemoveWorkflowCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowRemoveWorkflowCommandInputJsonldNormalizer.php index 40bd6a87..e8f68d8f 100644 --- a/src/Normalizer/WorkflowRemoveWorkflowCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowRemoveWorkflowCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -29,17 +23,14 @@ class WorkflowRemoveWorkflowCommandInputJsonldNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -52,22 +43,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); unset($data['@context']); - } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); unset($data['@id']); - } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { $object->setId(null); } - if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { $object->setType(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldReadNormalizer.php deleted file mode 100644 index 2b16726f..00000000 --- a/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldReadNormalizer.php +++ /dev/null @@ -1,96 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($data['@type']); - } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { - $object->setType(null); - } - foreach ($data as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - foreach ($object as $key => $value) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer.php b/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer.php new file mode 100644 index 00000000..9649c496 --- /dev/null +++ b/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer.php @@ -0,0 +1,87 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkflowWorkflowReadNormalizer.php b/src/Normalizer/WorkflowWorkflowReadNormalizer.php new file mode 100644 index 00000000..880c9706 --- /dev/null +++ b/src/Normalizer/WorkflowWorkflowReadNormalizer.php @@ -0,0 +1,229 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { + $object->setIsSoftDeleted($data['isSoftDeleted']); + unset($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + unset($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); + } + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values = []; + foreach ($data['autoload'] as $value) { + $values[] = $value; + } + $object->setAutoload($values); + unset($data['autoload']); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); + } + if (\array_key_exists('packages', $data) && null !== $data['packages']) { + $values_1 = []; + foreach ($data['packages'] as $value_1) { + $values_1[] = $value_1; + } + $object->setPackages($values_1); + unset($data['packages']); + } elseif (\array_key_exists('packages', $data) && null === $data['packages']) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && null !== $data['repositories']) { + $values_2 = []; + foreach ($data['repositories'] as $value_2) { + $values_2[] = $value_2; + } + $object->setRepositories($values_2); + unset($data['repositories']); + } elseif (\array_key_exists('repositories', $data) && null === $data['repositories']) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && null !== $data['auths']) { + $values_3 = []; + foreach ($data['auths'] as $value_3) { + $values_3[] = $value_3; + } + $object->setAuths($values_3); + unset($data['auths']); + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { + $object->setAuths(null); + } + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { + $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); + unset($data['compiledAt']); + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { + $object->setCompiledAt(null); + } + if (\array_key_exists('owner', $data) && null !== $data['owner']) { + $object->setOwner($data['owner']); + unset($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + unset($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']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { + $object->setCurrentVersion($data['currentVersion']); + unset($data['currentVersion']); + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { + $object->setCurrentVersion(null); + } + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values_4 = []; + foreach ($data['jobs'] as $value_4) { + $values_4[] = $value_4; + } + $object->setJobs($values_4); + unset($data['jobs']); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); + } + if (\array_key_exists('templatePictograms', $data) && null !== $data['templatePictograms']) { + $values_5 = []; + foreach ($data['templatePictograms'] as $value_5) { + $values_5[] = $value_5; + } + $object->setTemplatePictograms($values_5); + unset($data['templatePictograms']); + } elseif (\array_key_exists('templatePictograms', $data) && null === $data['templatePictograms']) { + $object->setTemplatePictograms(null); + } + foreach ($data as $key => $value_6) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_6; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['id'] = $object->getId(); + if ($object->isInitialized('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { + $data['isSoftDeleted'] = $object->getIsSoftDeleted(); + } + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('packages') && null !== $object->getPackages()) { + $values = []; + foreach ($object->getPackages() as $value) { + $values[] = $value; + } + $data['packages'] = $values; + } + $values_1 = []; + foreach ($object->getRepositories() as $value_1) { + $values_1[] = $value_1; + } + $data['repositories'] = $values_1; + $values_2 = []; + foreach ($object->getAuths() as $value_2) { + $values_2[] = $value_2; + } + $data['auths'] = $values_2; + if ($object->isInitialized('compiledAt') && null !== $object->getCompiledAt()) { + $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); + } + $data['owner'] = $object->getOwner(); + $data['workspace'] = $object->getWorkspace(); + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { + $data['currentVersion'] = $object->getCurrentVersion(); + } + if ($object->isInitialized('jobs') && null !== $object->getJobs()) { + $values_3 = []; + foreach ($object->getJobs() as $value_3) { + $values_3[] = $value_3; + } + $data['jobs'] = $values_3; + } + if ($object->isInitialized('templatePictograms') && null !== $object->getTemplatePictograms()) { + $values_4 = []; + foreach ($object->getTemplatePictograms() as $value_4) { + $values_4[] = $value_4; + } + $data['templatePictograms'] = $values_4; + } + foreach ($object as $key => $value_5) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_5; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkspaceJsonldNormalizer.php b/src/Normalizer/WorkspaceJsonldNormalizer.php deleted file mode 100644 index c716070b..00000000 --- a/src/Normalizer/WorkspaceJsonldNormalizer.php +++ /dev/null @@ -1,174 +0,0 @@ -setContext($data['@context']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($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']); - unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { - $object->setSlug(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - if (\array_key_exists('region', $data) && $data['region'] !== null) { - $value = $data['region']; - if (is_array($data['region']) and isset($data['region']['provider']) and isset($data['region']['datacenterName']) and isset($data['region']['datacenterAddress'])) { - $value = $this->denormalizer->denormalize($data['region'], 'Gyroscops\\Api\\Model\\RegionJsonld', 'json', $context); - } - $object->setRegion($value); - unset($data['region']); - } elseif (\array_key_exists('region', $data) && $data['region'] === null) { - $object->setRegion(null); - } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { - $values = []; - foreach ($data['authorizations'] as $value_1) { - $values[] = $value_1; - } - $object->setAuthorizations($values); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - if (\array_key_exists('users', $data) && $data['users'] !== null) { - $values_1 = []; - foreach ($data['users'] as $value_2) { - $values_1[] = $value_2; - } - $object->setUsers($values_1); - unset($data['users']); - } elseif (\array_key_exists('users', $data) && $data['users'] === null) { - $object->setUsers(null); - } - foreach ($data as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_3; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['name'] = $object->getName(); - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - $data['organization'] = $object->getOrganization(); - $value = $object->getRegion(); - if (is_object($object->getRegion())) { - $value = $this->normalizer->normalize($object->getRegion(), 'json', $context); - } - $data['region'] = $value; - if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { - $values = []; - foreach ($object->getAuthorizations() as $value_1) { - $values[] = $value_1; - } - $data['authorizations'] = $values; - } - if ($object->isInitialized('users') && null !== $object->getUsers()) { - $values_1 = []; - foreach ($object->getUsers() as $value_2) { - $values_1[] = $value_2; - } - $data['users'] = $values_1; - } - foreach ($object as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_3; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkspaceJsonldWorkspaceReadNormalizer.php b/src/Normalizer/WorkspaceJsonldWorkspaceReadNormalizer.php new file mode 100644 index 00000000..6f7d68b5 --- /dev/null +++ b/src/Normalizer/WorkspaceJsonldWorkspaceReadNormalizer.php @@ -0,0 +1,150 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; + foreach ($data['users'] as $value_1) { + $values_1[] = $value_1; + } + $object->setUsers($values_1); + unset($data['users']); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['name'] = $object->getName(); + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + } + if ($object->isInitialized('users') && null !== $object->getUsers()) { + $values_1 = []; + foreach ($object->getUsers() as $value_1) { + $values_1[] = $value_1; + } + $data['users'] = $values_1; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkspaceJsonldWorkspaceWriteNormalizer.php b/src/Normalizer/WorkspaceJsonldWorkspaceWriteNormalizer.php new file mode 100644 index 00000000..817a360e --- /dev/null +++ b/src/Normalizer/WorkspaceJsonldWorkspaceWriteNormalizer.php @@ -0,0 +1,101 @@ +setContext($data['@context']); + unset($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']); + unset($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']); + unset($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['name'] = $object->getName(); + $data['organization'] = $object->getOrganization(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkspaceNormalizer.php b/src/Normalizer/WorkspaceNormalizer.php deleted file mode 100644 index 875f6f20..00000000 --- a/src/Normalizer/WorkspaceNormalizer.php +++ /dev/null @@ -1,156 +0,0 @@ -setId($data['id']); - unset($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']); - unset($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']); - unset($data['slug']); - } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { - $object->setSlug(null); - } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); - unset($data['organization']); - } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { - $object->setOrganization(null); - } - if (\array_key_exists('region', $data) && $data['region'] !== null) { - $value = $data['region']; - if (is_array($data['region']) and isset($data['region']['provider']) and isset($data['region']['datacenterName']) and isset($data['region']['datacenterAddress'])) { - $value = $this->denormalizer->denormalize($data['region'], 'Gyroscops\\Api\\Model\\Region', 'json', $context); - } - $object->setRegion($value); - unset($data['region']); - } elseif (\array_key_exists('region', $data) && $data['region'] === null) { - $object->setRegion(null); - } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { - $values = []; - foreach ($data['authorizations'] as $value_1) { - $values[] = $value_1; - } - $object->setAuthorizations($values); - unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { - $object->setAuthorizations(null); - } - if (\array_key_exists('users', $data) && $data['users'] !== null) { - $values_1 = []; - foreach ($data['users'] as $value_2) { - $values_1[] = $value_2; - } - $object->setUsers($values_1); - unset($data['users']); - } elseif (\array_key_exists('users', $data) && $data['users'] === null) { - $object->setUsers(null); - } - foreach ($data as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_3; - } - } - - return $object; - } - - /** - * @return array|string|int|float|bool|\ArrayObject|null - */ - public function normalize($object, $format = null, array $context = []) - { - $data = []; - $data['name'] = $object->getName(); - if ($object->isInitialized('slug') && null !== $object->getSlug()) { - $data['slug'] = $object->getSlug(); - } - $data['organization'] = $object->getOrganization(); - $value = $object->getRegion(); - if (is_object($object->getRegion())) { - $value = $this->normalizer->normalize($object->getRegion(), 'json', $context); - } - $data['region'] = $value; - if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { - $values = []; - foreach ($object->getAuthorizations() as $value_1) { - $values[] = $value_1; - } - $data['authorizations'] = $values; - } - if ($object->isInitialized('users') && null !== $object->getUsers()) { - $values_1 = []; - foreach ($object->getUsers() as $value_2) { - $values_1[] = $value_2; - } - $data['users'] = $values_1; - } - foreach ($object as $key => $value_3) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_3; - } - } - - return $data; - } -} diff --git a/src/Normalizer/WorkspaceWorkspaceReadNormalizer.php b/src/Normalizer/WorkspaceWorkspaceReadNormalizer.php new file mode 100644 index 00000000..68aaf3ce --- /dev/null +++ b/src/Normalizer/WorkspaceWorkspaceReadNormalizer.php @@ -0,0 +1,132 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + unset($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; + foreach ($data['authorizations'] as $value) { + $values[] = $value; + } + $object->setAuthorizations($values); + unset($data['authorizations']); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); + } + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; + foreach ($data['users'] as $value_1) { + $values_1[] = $value_1; + } + $object->setUsers($values_1); + unset($data['users']); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); + } + foreach ($data as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_2; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['name'] = $object->getName(); + if ($object->isInitialized('slug') && null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } + $data['organization'] = $object->getOrganization(); + if ($object->isInitialized('authorizations') && null !== $object->getAuthorizations()) { + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; + } + $data['authorizations'] = $values; + } + if ($object->isInitialized('users') && null !== $object->getUsers()) { + $values_1 = []; + foreach ($object->getUsers() as $value_1) { + $values_1[] = $value_1; + } + $data['users'] = $values_1; + } + foreach ($object as $key => $value_2) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_2; + } + } + + return $data; + } +} diff --git a/src/Normalizer/WorkspaceWorkspaceWriteNormalizer.php b/src/Normalizer/WorkspaceWorkspaceWriteNormalizer.php new file mode 100644 index 00000000..fe684d93 --- /dev/null +++ b/src/Normalizer/WorkspaceWorkspaceWriteNormalizer.php @@ -0,0 +1,83 @@ +setName($data['name']); + unset($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + unset($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['name'] = $object->getName(); + $data['organization'] = $object->getOrganization(); + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } +} diff --git a/src/Runtime/Client/BaseEndpoint.php b/src/Runtime/Client/BaseEndpoint.php index dc22381d..1ddb3977 100644 --- a/src/Runtime/Client/BaseEndpoint.php +++ b/src/Runtime/Client/BaseEndpoint.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Client; use Http\Message\MultipartStream\MultipartStreamBuilder; @@ -39,11 +33,9 @@ protected function getExtraHeaders(): array public function getQueryString(): string { $optionsResolved = $this->getQueryOptionsResolver()->resolve($this->queryParameters); - $optionsResolved = array_map(function ($value) { - return null !== $value ? $value : ''; - }, $optionsResolved); + $optionsResolved = array_map(fn ($value) => null !== $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 @@ -76,7 +68,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 5434d0d6..eb27c299 100644 --- a/src/Runtime/Client/Client.php +++ b/src/Runtime/Client/Client.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Client; use Jane\Component\OpenApiRuntime\Client\Plugin\AuthenticationRegistry; @@ -67,15 +61,15 @@ private function processEndpoint(Endpoint $endpoint): ResponseInterface { [$bodyHeaders, $body] = $endpoint->getBody($this->serializer, $this->streamFactory); $queryString = $endpoint->getQueryString(); - $uriGlue = false === strpos($endpoint->getUri(), '?') ? '?' : '&'; - $uri = $queryString !== '' ? $endpoint->getUri() . $uriGlue . $queryString : $endpoint->getUri(); + $uriGlue = !str_contains($endpoint->getUri(), '?') ? '?' : '&'; + $uri = '' !== $queryString ? $endpoint->getUri().$uriGlue.$queryString : $endpoint->getUri(); $request = $this->requestFactory->createRequest($endpoint->getMethod(), $uri); if ($body) { if ($body instanceof StreamInterface) { $request = $request->withBody($body); - } elseif (is_resource($body)) { + } elseif (\is_resource($body)) { $request = $request->withBody($this->streamFactory->createStreamFromResource($body)); - } elseif (strlen($body) <= 4000 && @file_exists($body)) { + } elseif (\strlen($body) <= 4000 && @file_exists($body)) { // more than 4096 chars will trigger an error $request = $request->withBody($this->streamFactory->createStreamFromFile($body)); } else { @@ -85,7 +79,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/CustomQueryResolver.php b/src/Runtime/Client/CustomQueryResolver.php index a1976cef..506221bd 100644 --- a/src/Runtime/Client/CustomQueryResolver.php +++ b/src/Runtime/Client/CustomQueryResolver.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Client; use Symfony\Component\OptionsResolver\Options; diff --git a/src/Runtime/Client/Endpoint.php b/src/Runtime/Client/Endpoint.php index b08c50a9..6368d8e7 100644 --- a/src/Runtime/Client/Endpoint.php +++ b/src/Runtime/Client/Endpoint.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Client; use Psr\Http\Message\ResponseInterface; diff --git a/src/Runtime/Client/EndpointTrait.php b/src/Runtime/Client/EndpointTrait.php index 4049ac89..97dd4c36 100644 --- a/src/Runtime/Client/EndpointTrait.php +++ b/src/Runtime/Client/EndpointTrait.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Client; use Psr\Http\Message\ResponseInterface; diff --git a/src/Runtime/Normalizer/CheckArray.php b/src/Runtime/Normalizer/CheckArray.php index 4fa8955b..07e7a880 100644 --- a/src/Runtime/Normalizer/CheckArray.php +++ b/src/Runtime/Normalizer/CheckArray.php @@ -2,20 +2,12 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Normalizer; trait CheckArray { public function isOnlyNumericKeys(array $array): bool { - return count(array_filter($array, function ($key) { - return 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); } } diff --git a/src/Runtime/Normalizer/ReferenceNormalizer.php b/src/Runtime/Normalizer/ReferenceNormalizer.php index 63757180..60c3a4fa 100644 --- a/src/Runtime/Normalizer/ReferenceNormalizer.php +++ b/src/Runtime/Normalizer/ReferenceNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Normalizer; use Jane\Component\JsonSchemaRuntime\Reference; @@ -15,9 +9,6 @@ class ReferenceNormalizer implements NormalizerInterface { - /** - * {@inheritdoc} - */ public function normalize($object, $format = null, array $context = []) { $ref = []; @@ -26,9 +17,6 @@ public function normalize($object, $format = null, array $context = []) return $ref; } - /** - * {@inheritdoc} - */ public function supportsNormalization($data, $format = null): bool { return $data instanceof Reference; diff --git a/src/Runtime/Normalizer/ValidationException.php b/src/Runtime/Normalizer/ValidationException.php index 00b2f40b..2ea6a2db 100644 --- a/src/Runtime/Normalizer/ValidationException.php +++ b/src/Runtime/Normalizer/ValidationException.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Normalizer; use Symfony\Component\Validator\ConstraintViolationListInterface; diff --git a/src/Runtime/Normalizer/ValidatorTrait.php b/src/Runtime/Normalizer/ValidatorTrait.php index 66e1d9fc..b36d3e27 100644 --- a/src/Runtime/Normalizer/ValidatorTrait.php +++ b/src/Runtime/Normalizer/ValidatorTrait.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Runtime\Normalizer; use Symfony\Component\Validator\Constraint;